You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P5 is a visualization wrapper library that makes interacting with drawing objects a lot nicer than playing with the native options. It's used as the definitive creative coding tool.
Learn
Check out the following resources for the best guide to learn p5 from awesome educators!
Crash course
Animations
P5 has similar mandatory functions as Arduino. setup() and draw().
In traditional hand drawn animation, when you want to animate an object, you would simply take an empty canvas, draw your object, then open a new canvas and translate / transform your object then repeat this process until your animation is complete.
Check out these simple examples to see how we can trigger the draw() function as a loop or on event.