Your path · Module 2

Make it move

Draw to the screen with JavaScript and p5.js.

p5.js lets you draw shapes, animate them, and respond to the mouse in a few lines. You get a result immediately, which is the point.

You only need a browser. The p5.js web editor runs everything online, with nothing to install.

Try this: draw a circle that follows your mouse. Then change one number at a time and see what breaks.

Go further

← Start big When it breaks →