Physics
Lightning
Grow a branching discharge from a repeatedly solved electric potential. Change field sensitivity and a grounded rod to see how the stochastic channel finds the ground.

Try this
A conducting branch grows where the computed electric field favours breakdown. η controls field selectivity; a grounded rod changes the solved field. This is a 2D stochastic growth model.
Equations used in the module
Equations ∇²φ = 0 outside conducting channel φcloud = φchannel = 1; φground = 0 P(next cell i) = |Ei|^η / Σ |Ej|^η Potential is re-solved after every growth step


