This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

This is a simple demos of Object Oriented Design. Here we will construct three different Ball objects and then let them loose. Although this is pretty easy, having 1000 of them would be a lot of work. For a solution to that, we would use an array (see the "Particles" sketch for an example.)

Source code: objectDemo Ball

Built with Processing