Processing 1.0: Composite Object and Mouse Events

Posted by anup.narkhede on September 30, 2007

After looking at FIDGT Visualizer, I was tempted to get some hands on with Processing 1.0.

I have come up with a simple example which demonstrates:
1) Building a complex shape (combination of simple shapes)
2) Adding mouse event to the application
3) Transforming shape based on mouse event
4) Drag and Drop object

Processing Demo 1

ChannelCircle is a simple circle object with basic parameters like position, radius and color.
Channel is a complex object (combination of four co-centric ChannelCircles.
Here I have implemented Channel as a complete object to demonstrate mouse events.

See Working Demo and Source Code