Loss of Life

The project was born as a study on GLSL shaders and how they can be integrated with a p5js sketch.

While developing this sketch, I've listened to MGMT's Loss of Life more times than I'd like to admit, and the yearning quality of its music bled into the final visual result of the project.

loss-of-life
loss-of-life

creation process
The text and the elements are drawn with p5js in black and white, while the merging and noise effects, as well as the gradient background, are computed with a simple set of GLSL shaders.
The circles are created mainly by scattering them on the screen, but, like the lines, they can also be drawn with the mouse, producing a more controlled result.