This was an assignment for a course I'm taking. The brief was to create a drawing app with 3 brushes: a standard opaque brush, a transparent brush and a 'mix brush' that paints performs a logical AND on the selected colour and the existing background colour.
This sketch was an assignment for a course I'm taking. It allows you to create a 3D form from a lattice of spheres.
The code is pretty ugly, but it does what I needed (part of what I gained from this is a much better understanding of how to structure code!). Some functionality has been removed, such as loading and saving sculptures as it didn't like working as an applet. I have also reduced the number of columns and rows as as applet, as P3D was struggling compared to openGL.
Playing with texturing, i came up with the idea for this sketch. It is most effective if you put the mouse in the sketch and wait for it to 'spin up', and then you can get some interesting effects making small mouse movements.