Lab 03 — Dancing Puppies
Creating a frame by frame animation with p5.js.
This sketch is a practice for creating animations in p5.js. It includes a collection of dancing dogs which I had the sketch from a few year ago. I asked ChatGPT to create 8 dancing pose frames for each dog.
Click the canvas to start the music and change it after each click. The speed of the dancing frames get slower when the music is blues (sound 2) and gets high when the music is techno (sound 1). When sound 3 plays a chow chow enters the floor and dances and leave the floor when the sound 4 plays, & when the poodles enters to dan with ABBA (sound 4). You can pause all dogs by the space and also pause & play each dancing dogs with the numbers keys from 1 to 5.
View the code on GitHub