exploding sphere in processing

Nikolaus Gradwohl2011-05-03T05:24:33+00:00

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


read more ...

circular mosaik pattern in processing

Nikolaus Gradwohl2011-05-02T05:16:12+00:00

I wrote a small processing sketch to explore circular mosaik pattern

click here to play around with it or download the source


read more ...

Printed Hexagonal Labyrinth

Nikolaus Gradwohl2011-04-29T06:11:14+00:00

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


labyrinth 3D

read more ...

Android Monome-Clone in Processing

Nikolaus Gradwohl2011-04-28T05:23:03+00:00

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

android monome clone

read more ...

Using JavaDB from Processing

Nikolaus Gradwohl2011-04-27T05:01:35+00:00

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

Nikolaus Gradwohl2011-04-26T05:50:08+00:00

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

hexagonal labyrinth

read more ...

Labyrinth - The Easter-Edition

Nikolaus Gradwohl2011-04-24T06:57:18+00:00

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

easter labyrinth

read more ...

Generating Labyrinths in Processing

Nikolaus Gradwohl2011-04-23T15:33:23+00:00

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


read more ...

Sparkles with processing

Nikolaus Gradwohl2011-04-14T06:57:25+00:00

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


read more ...

Inverted Rendering

Nikolaus Gradwohl2011-04-11T17:10:00+00:00

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


read more ...