Musical Onion 🧅

🔗 Code Example: Musical Onion

🔗 References:

🔗 Timestamps:

  • 0:30 Create a single polygon

  • 2:52 Rotate a polygon

  • 6:35 Create a Polygon class

  • 9:15 Create polygon objects with varying number of sides

  • 13:05 Write a collision method

  • 18:03 Deep dive into p5.Oscillator class

  • 22:59 Add sound to original sketch

  • 26:13 Final touches

Previous

Little Creatures (Procedural Animation)

Next

Oscillating Hexagons