What's happening
Field strength
The voltage across the gap creates an electric field, roughly the voltage divided by the distance. Here that is . The closer the electrode is to the glass, or the higher the voltage, the stronger the field.
Ionization
A gas normally insulates. When the field is strong enough, stray free electrons gain enough energy between collisions to knock more electrons off gas atoms. Each collision frees more electrons, an avalanche, and the gas becomes a conducting plasma that glows. In ordinary air at sea level this takes about 30 kV per centimetre. Lower pressure means longer free paths, so breakdown happens at a lower field (down to a limit). Humidity changes it only a little in this toy model.
Why branches fork
A discharge grows step by step toward wherever the field is strongest, but each step is partly random. Small bumps and charge left behind make the field strongest at the tips, so a tip can split into two. Repeat that and you get the tree-like Lichtenberg pattern seen in lightning and plasma globes.
Pointy vs round
Fields concentrate around sharp points, so a point electrode starts discharges at a lower voltage than a smooth sphere. That is why lightning rods are pointed.
This is a simplified, illustrative model of general physics, not a simulation of any specific device or theory.
Learn more on PlasmoidX (opens in a new tab)