Here is the Processing program that I made with Emily and Claire. It contains four balls moving in different directions, and takes no account of the natural laws of this world.
We added a little interactivity to this program. If you try clicking the screen, the blue ball will move to where you clicked, so have fun playing with it!
I like the interactivity, but make sure that if you include extra features that you include it on the webpage in the html file so that other users know to click the screen to move the ball. People seeing your projects from your github page won’t see this blog post and won’t know to click to move the ball
LikeLike
I’ve made the changes; the webpage isn’t pretty but at least you get instructions!
LikeLike
How would you change it so that as I keep holding down the mouse, the blue ball stays under my control and moves with me until I let it go from the location I choose?
LikeLike
I’ve made it so that if you drag the mouse, the ball will follow. I’m still having some problems with the release though; if your mouse stops moving, it will go on it’s merry way.
LikeLike