exploding sphere in processing
This processing-sketch features a sphere that dissolves into a 3D-particle system and explodes when you click on it.
click here to try it yourself or download the sourcecode
circular mosaik pattern in processing
I wrote a small processing sketch to explore circular mosaik pattern
click here to play around with it or download the source
Printed Hexagonal Labyrinth
I updated my hexagonal labyrinth sketch to generate a 3D labyrinth and exported it as stl file. Then I printed it on my 3D printer. It took a while to convert the stl file to gcode but finally something printable was generated.
So if you need a labyrinth for your next puzzle or your science experiment with ants or ... download the sketch here, generate a labyrinth, take the stl-file and print it on your makerbot or use it in your mashups.
you can also use the pre-generated stl file I used to print
Android Monome-Clone in Processing
Processing 1.5 is the first released version that supports the android mode in processing. So I wrote a simple monome-clone in processing to test it.
Download the complete source here if you want to try it yourself.
The sketch uses the OscP5 library to generate or react to osc-messages, but unfortenatly processing still has problems resolving external libraries in android mode. So I added the oscp5.jar to the sketch using "Add File" - works like a charm.
The sketch is far from perfect - the target address of the osc events is still hardcoded, no support for multitouch events yet, etc - but its really nice to see how fast an android app can be made with processing
This is my Archos 101 running the my monome-clone
Using JavaDB from Processing
JDBC is the java api for connecting to sql databases. Since java6, javadb - a small, simple, javabased database-engine is delivered with java. This is a small example of how to access a database with javaDB from a processing-sketch.
First you need to download the driver from the javadb download site select the "All Plattforms" package and extract derby.jar from the zip file.
Add this jar file to your processing-sketch using the "Add File..."-Item form the "Sketch"-Menu.
The following sketch creates a small database containing one table in the setup method (the "drop table ..." statement deletes the table if it already exists. If you want to pregenerate your database or keep it, remove this line.)
read more ...hexagonal labyrinths in processing
I took my labyrinth generator and reworked the algorithm a bit to generate hexagonal labyrinths.
click here to generate some labyrinths or get the sourcecode
Labyrinth - The Easter-Edition
yesterday I made a processing-sketch to generate labyrinths. Today I made a slightly modified version to let it generate EASTER-labyrinths by placing colored eggs on the cells.
click here to generate some yourself and get the source code
print them on a color printer and have fun while hunting the eggs
Generating Labyrinths in Processing
I wrote a processing-sketch that generates labyrinths. It uses a simple recursive algorithm described here to generate the maze.
The + and - keys can be used to change the maze-size, any other key generates a new maze.
click here to generate some labyrinths or get the source-code
Sparkles with processing
I made a processing sketch that generates a trail of sparkles that follow the mouse pointer.
Click here to run the skecht or download the code. Press the mousebutton and drag the mouse around to generate a particle-trail. Press 'g' to toggle gravity
Inverted Rendering
I made a short animation in processing that renders some spheres and then inverts the frame.
Click here to run the applet or download the source