Sunday, August 8, 2021
p5.js
Waves crashing through the night sky filled with starlight.
This effect is created drawing a grid of boxes in a 3D space and then varying their positions as a function of their position in the grid using a sine wave.
Below is an interactive piece. Move your mouse from left to right to vary the length of the particles.
Few more variations listed below.