Swipe the cursor across the screen. The purple ball will follow the cursor at the exact trajectory of the swipe. The blue ball will move either left, right, up, or down depending on the direction of swipe.
This project was inspired by a discussion that happened in the Virtual Pet community. I added music and sounds from My Boo for the fun of it. Credits to Tapps Games for that. All the code is by me.