Digital Caleidoscop

Nikolaus Gradwohl2009-04-09T05:58:00+02:00

i made a digital caleidoscop using processing sketch click here to see it in action. I had to use openGL for this sketch so i'm not sure if it works as an applet on all plattforms. Download the code and run it as an app if the applet doesn't show anything.

caleidoscop

read more ...

processing.js in dashboard widget

Nikolaus Gradwohl2009-04-07T05:45:00+02:00

I managed to get processing.js - a javascript based processing clone - to run in an apple dashboard widget.

processing.js widget

read more ...

5x7-ledmatrix-shield

Nikolaus Gradwohl2009-04-06T13:41:00+02:00

I managed to solder the 5x7-ledmatrix i wrote about some days ago to a arduino-proto-shield (without any injuries or short cuts - i am sooo proud :-))

now it looks really fancy (well the upper side at least)

ledmatrix

ledmatrix back

read more ...

feeling watched in openframeworks

Nikolaus Gradwohl2009-04-06T06:47:00+02:00

I wrote another little app in openframeworks today to test of006 which came out a couple of days ago.

i always liked those little xeyes apps (and all its windows, mac, whatever clones) so i took it to the extrem and made a LOT of them - feel beeing watched :-)

eyes

read more ...

5x7 LED Matrix on my arduino

Nikolaus Gradwohl2009-04-03T06:36:00+02:00

I just hooked up my 5x7 led matrix to an arduino :-)

very cool, i use the led matrix without any other parts as shown in the arduino playground

the next thing i want to do is solder it to one of my protoshields

(ignore the right part of the circuit, it is a currency regulator from another project, but i had no empty breadboards left :-))

ledmatrix

read more ...

JavaScript CalDAV-Frontend

Nikolaus Gradwohl2009-03-29T12:39:00+02:00

I just wrote a realy simple and small frontend for caldav calender (~700 lines of code including html) using the mootools framework it supports multiple calendar and displays a read-only week-view.

i'm using it with a DAViCal server

to install it, simply download the package, unpack it on your caldav server and enter the caldav urls of your calender in the config.js file.

thats it

have fun :-)

read more ...

formating xml in vim

Nikolaus Gradwohl2009-03-28T08:14:00+01:00

i often have to work with xml files that are autogenerated and look very ugly i defined a short keymapping in my .vimrc file that calls xmllint --format - on the current buffer

map xf <ESC>:%!xmllint --format -<CR>

open any xml file and press 'xf' in command mode.

read more ...

blooming tree in processing

Nikolaus Gradwohl2009-03-19T19:18:00+01:00

because spring is getting near, and everyone is googling for flowers and bees (i have about 10 hits a day all coming from google searching "ascii flower bee"),

i made a processing-sketch showing a blooming tree

every time the applet is started it grows it unique tree

bloom

read more ...

Boids Demo

Nikolaus Gradwohl2009-03-15T15:00:00+01:00

I just wrote a boids-demo in processing.

the boids obey the 3 rules defined by Craig Reynolds.

click here to see some boids flying around

boids

read more ...

how to detect presentmode in processing

Nikolaus Gradwohl2009-03-15T10:21:00+01:00

in processing sketches can be run in "present" mode. which means a frame is generated in fullscreen mode and the code of the sketch is centered on the screen.

to change the size of the actual sketch depending on wether presend mode is active or not
the following code can be used

void setup() {
    for ( int i = 0; i < args.length; i ++ ) {
      if ("--present".equals(args[i])) {
        present = true;
        break;
      }
    }
    if (present) {
      size(screen.width,screen.height, OPENGL);
    } else {
      size(600,600, OPENGL);
    }

    // do your normal setup stuff here
}
read more ...