Use this template for a brand new p5.js project.
- Find an object, texture, or motion that you want to recreate using p5.js Here is some inspiration.
- Generate some sort of "mark" every time your mouse location changes (aka make a “brush” you can "draw" with using the mouse).
- Include one element that changes as you move the mouse that is not just the location of the mark. This could be scale, color, angle, or more.
- (Optional) Include one element that is different each time you load the sketch (you may want to use randomness!)
You may want to choose an emotion: surprise, playfulness, confusion, etc.
Layers can help create a sense of complexity! To do so, comment out the background()
function in your draw()
function. This will prevent the screen from being covered by the background color each frame.
You might to check out https://p5js.org/reference/#/p5/lerpColor. Also useful: https://p5js.org/reference/#/p5/map
🤯
Check out Dan Schiffman's youtube tutorials http://learningprocessing.com/videos/3-2# !
This is adapted from Camille Utterback's class "Drawing with Code".