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 ...

3d Particle effect demo

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

i used the makeTexture method from my firefly sketch to make a 3d particle demo

click here to download the sourcecode.

particles

read more ...

Digital Fireflies

Nikolaus Gradwohl2009-03-14T21:14:00+01:00

I made another processing sketch that showes something glowing

click here to see some fireflies whirrl
arround

fireflies

read more ...

Rotating Stereo Cubes

Nikolaus Gradwohl2009-03-14T09:18:00+01:00

I made my first 3d processing sketch that generates a stereo image for cross eyed viewing

click here to see the cubes rotate

rotating cube

read more ...