How to create lightning effect in Jitter ?

Cheng Chien-Wen's icon

I was wondering if it is possible to simulate lightning effect in Jitter in real-time so that I can control it directly through parameter changes . Any idea ?

Thanks.

Rob Ramirez's icon

my guess would be to utilize jit.linden.
check out the examples:
Max5/examples/jitter-examples/other/LindenmayerExamples1.maxpat
Max5/examples/jitter-examples/other/LindenmayerExamples2.maxpat

other than that, you could come up with something using javascript and jit.gl.sketch, assuming you have some equations handy.