Optical Illusion with Sound 🎡

πŸ”— Code Example: Optical Illusion with Sound

πŸ”— Related Videos:

πŸ”— Timestamps:

  • 0:44 Create one oscillating circle

  • 3:46 Create multiple oscillating circles to get an optical illusion effect

  • 7:25 Create a Ball class

  • 12:12 Upload, preload, and play .mp3 files

  • 16:08 Play a note when ball passes through the origin

  • 22:35 Create multiple rings of Ball objects

  • 27:18 Make it pretty!

Previous

Bubbly Emoji Effect

Next

Rotating Polygons on the Major Scale 🎡