WEEK 5 (pixels and animation 2)

Create 5–7 sketches in p5.js. Use each of the following at least once:
  • a conditional statement (if / else / etc.)
  • a for loop or while loop
  • a custom variable
  • a function other than setup() and draw()
  • a user input (keyboard, mouse, webcam, microphone)
  • an element of randomness

Feel free to iterate on your Scratch sketches in p5. Try to spread these out over the course of the week — ideally one sketch each day. The best way to get good at something is to do it every day.


Sketch 1

Bouncing Ball

View Sketch

Sketch 2

Keyboard Walker

View Sketch

Sketch 3

Teleporter

View Sketch

Sketch 4

Abby

View Sketch

Sketch 5

Random Walker

View Sketch

Sketch 6

Rain of Circles

View Sketch

Sketch 7

Interactive Paintbrush

View Sketch

Week 5 Summary

This document provides a full overview of all seven sketches, the tools and techniques used, and how each fulfills the Week 5 creative coding requirements.

📄 Download PDF