Nikolaus Gradwohl2010-01-08T05:20:00+00:00

I just finished my Smiley-O-Mat - it's a tin-box with 3 turning knobs that allows you to controll the appearence of a smiley. With 3 simple turns I can now tell your co-workers, familymembers, ... how you feel at the moment and if it is wise to talk to me right now :-)

The controllerbox is made with an arduino, the smiley generator is written in processing, and the turning knobs are printed on my makerbot

This is what the controller looks like controler box

and here are some smileys i generated

smiley1 smiley2 smiley3 smiley4 smiley5 smiley6

read more ...

Floating Processing cloudes with minim

Nikolaus Gradwohl2010-01-04T03:59:00+00:00

I made a simple example to test the sound input features of minim, an audio library for processing.

I took one of the cloudes i wrote for my ical-flowers and wrote a simple sketch that makes it float to the right whenever someone blows into the microphone.

floating coude

read more ...

Falling letters in processing

Nikolaus Gradwohl2009-12-17T06:10:00+00:00

My latest processing-sketch features some letters that are dropping from the top of the window to the bottom and form a word.

click here to see it in action


read more ...

plasma in processing

Nikolaus Gradwohl2009-12-16T05:39:00+00:00

I wrote another simple and pretty useless (i mean simple, pretty and useless :-)) sketch in processing. I wanted to see how the noise function reacts so i wrote a sketch that draws plasma. Press any key to change between color and grayscale mode.

colored plasma grayscaled plasma

read more ...

Random Lines in Processing

Nikolaus Gradwohl2009-12-15T02:50:00+00:00

I made another completely useless sketch in processing

click here to see the lines move in action


read more ...

multiple lines in processing

Nikolaus Gradwohl2009-11-12T04:57:00+00:00

I wrote a processing-sketch to test how to connect to points using multiple curves that are slightliy shifted by random values. Looks really good in datavisualisation apps.

click here to run the applet and see the code.


read more ...

processing spirals

Nikolaus Gradwohl2009-10-20T05:25:00+00:00

I made another useless but fun to watch processing sketch

click here to get mesmerized :-)

mesmerizing spirals

read more ...

Barcodescanner in pure processing

Nikolaus Gradwohl2009-09-22T05:53:00+00:00

I always considered barcode scanners as a pice of rocketscience that mere mortals like me aren't able to build. But this weekend megalomania hit me and i wrote one in processing. I didn't use any libraries beside GSVideo (on my linux box) or (wherever quicktime is available)

My barcodescanner is able to decode a subset of the code128 barcode. it shows all printable characters and it supports all three charsets, but i didn't include all those Bell, Stx, Enq, .. character. feel free to add support for them if you need it :-)

barcodescanner in action

The program assumes that the barcode is placed in the middle of the camera image. It takes the middle row of pixels and converts it to black and white. then it calculates the width of the black and white bars and searches for a barcode startsequence. if it finds one it tries to match the next six bars with the code128 patterns and adds the value of the character that has the highest match to a stringbuffer.

when a stop character is found it calculates the checksum and if that matches it returns the found string (minus the checksum char).

sounds a lot more complicated than it actually is. the hardest part was turning the row of pixels into an array of black and white values.

The code is not really beautifull and it is a bit long because of the big char tables.

click here to download the code.

read more ...

processing arkanoid clone

Nikolaus Gradwohl2009-09-12T21:29:00+00:00

I just wrote a little arkanoid clone in processing in less than an hour.

click here to give it a try

arkanoid clone

read more ...

projecting GIS Data on a sphere using Processing

Nikolaus Gradwohl2009-09-07T18:52:00+00:00

i have used processing to access map materials from geoserver. but i have noticed that the earth is not flat and that processing is making 3d animations really easy :-)

so i have coded a rotating sphere and project the GIS data from geoserver on the surface

flat map from my last sketch map

spherical map from the new sketch sphere map

read more ...