Light simulation!

Light simulation


Scientific simulation of light based on the idea of light as waves.

The circle in the center is an imitation of glass. Passing at a certain angle, the rays passing through the glass form a rainbow.

The calculation is slow, the first light sources will appear by the 20th-30th tick. For a faster calculation you can reduce the size, for a more accurate and beautiful result increase the size.

@bh , is it possible to add this to the science or maths collection?

This is beautiful. Thanks for sharing!

Done. Science.

wow this is insanely cool! possibly most beautiful project i've seen on snap ever