Randomized interactive wallpaper

a project in p5js

Like the book cover, this wallpaper has an interactive component. Everytime the user runs the code again, a new pattern is shown.

The code randomizes the position and size of all the triangles, but keeps it in the pink colour range.

If you would like to view the project on p5js, click here.