Experiment
Confetti painting
This experiment is actually a part of a series of mini-projects I did as part of a course on 'Math for creatives' from SuperHi.
It's written entirely in p5js and it uses basic concepts. You can paint a continuous shape that has tiny circles that orbit the main shape, kind of like tiny satellites, if you may. It's quite fun to play with.
Tip: Try painting with a slow speed for best results.