Week 12 : MIDI CNTRL, Dials

Homework

Coding Sketch 6

Create a p5 sketch in which you compose *your own* object to animate a shape.

Use example code to create a unique mapping to the dials. Use old sketches that you can animate with the BeatStep.

requirements

  1. accept a color parameter to assign as one of its properties (e.g. this.color)
  2. define and use 2 methods, one to move and one to show
  3. the object should be called four different times with four different colors. Call their move and show methods inside the draw loop.

Readings

Card image cap
Make: Getting Started with p5*js

Chapters 10. Objects

by

LINK

Examples

Other Materials

Key Concepts:
Coding Components: