pragprowrimo day 2

Nikolaus Gradwohl2009-11-03T04:00:00+00:00

I wrote anoter 5 pages of my processing book, and as the praglife blog tells us i haven't tried to correct anything besides syntax-errors in my docbook files yet.

read more ...

pragprowrimo the first day

Nikolaus Gradwohl2009-11-01T20:26:00+00:00

The pragmatic programmers have started the Pragmatic Programmers Writing Month and post tips in their pragmatic live blog. The goal is to write 80 pages or more during november.

I have started a book on processing today and managed to write my first 6 pages. i will post my progress on this blog and tag the articles with pragprowrimo

read more ...

tiny ascii-art robot

Nikolaus Gradwohl2009-10-20T06:14:00+00:00

 [00]
/|__|\
  ''  
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 ...

Monsters in Denmark

Nikolaus Gradwohl2009-10-15T06:08:00+00:00

I have been in denmark last week and they have their monsters too. some even took over the electric system electricplugmonster

and the problem there is so severe that even McDonalds has started to make ads specially for monsters mcd monster

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 processing.video (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 ...

using Buzzer with Processing

Nikolaus Gradwohl2009-09-06T18:34:00+00:00

I have written a processing sketch that shows how to use the buzzer for the ps2. the sketch uses the proCONTROLL library and draws a rectangle for every button on the buzzer.

buzzer test

read more ...

New pencil drawings

Nikolaus Gradwohl2009-09-06T09:28:00+00:00

i just added 8 new pencil drawings to my drawings gallery

read more ...