Fireflies
This project consists of two parts: the fireflies, and the forest. Fireflies are generated using a flocking system, and are random in size and postion. The forest consists of five layers of recursive trees, random in position, and different in size and color to simulate depth. Both are then combined together, with the fireflies weaving in and out between the layers of trees.
Download code: LINK
Open p5.js sketch to watch simulation.