Rotating NeonBox

Nikolaus Gradwohl2008-09-06T16:26:00+00:00

i have hacked together my next processing sketch. This time its a rotating NeonBox.

dont wait for something sophisticated to happen its just a little rotating box :-)

read more ...

Parallax v2.0

Nikolaus Gradwohl2008-08-12T20:56:00+00:00

Because of the OVERWHELMING amount of reader comments - aehm, i mean compared to my other blogposts - i have decided to code another version of my Parallax scrolling demo (v2.0) containing a jumping white rabbit

read more ...

parallax demo

Nikolaus Gradwohl2008-08-07T06:55:00+00:00

A new processing sketch is online. I have coded a Parallax scrolling demo. All the graphics are drawn by hand - this demo also shows why i'm a coder and not a painter :-)

read more ...

water ripples

Nikolaus Gradwohl2008-07-30T21:34:00+00:00

I have rewritten my Mousetrail processing-sketch to make it look like Water ripples.

read more ...

blob demo

Nikolaus Gradwohl2008-07-21T05:57:00+00:00

And here comes another processing sketch. This time i tried to implement a 2D version of the Blob function from povray.

read more ...

Wobbly Dragon Egg

Nikolaus Gradwohl2008-07-14T20:46:00+00:00

I have written a processing sketch again. This time it took me 15 minutes, and it visualizes a wobbly dragon egg

read more ...

Mousetrail

Nikolaus Gradwohl2008-07-13T22:06:00+00:00

I just made another completly useless Mousetrail Demo in 5 minutes using processing

Why this time? - same reason as last time :-)

read more ...

Bouncingball

Nikolaus Gradwohl2008-07-12T21:19:00+00:00

I hacked together a BouncinBall-Demo in 5 minutes using processing.

Why? Just because i can :-)

read more ...

Processing OSC

Nikolaus Gradwohl2008-07-04T06:23:00+00:00

I have recently posted about my chuck-script that generates osc events from my m-audio iControl. Now i have written a Processing-sketch, that visualizes the events. The OSC-Events are parsed using the oscP5.

import oscP5.*;
import netP5.*;

OscP5 oscP5;
int buttons[] = {0,0,0,0,0,0,0,0};
float knobs[] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0};

void setup() {
size(500,500);
frameRate(25);
background( 0 );
oscP5 = new OscP5( this, "239.0.0.1", 3334 );
}

void draw() {
drawControl();
}

void drawControl() {
smooth();
ellipseMode( CORNER );
for (int i = 0; i < 8; i++ ) {
    fill( 255 * buttons[i] );
    stroke( 255 );
    ellipse( 10, 20 + i * 20, 15, 15 );

    fill( 0 );
    rect( 40, 20 + i * 20, 100, 15 );  
    noStroke();
    fill( 0, 0, 128 );
    rect( 41, 21 + i * 20, 99 * knobs[i], 14 );  

}
}

void oscEvent( OscMessage m ) {
print( " pattern " + m.addrPattern());
println( " type " + m.typetag());
if (m.addrPattern().equals( "/icontrol/button" )) {
    int chan = m.get(0).intValue();
    int val = m.get(1).intValue();
    buttons[chan] = val;
} else if ( m.addrPattern().equals( "/icontrol/knob")) {
    int chan = m.get(0).intValue();
    float val = m.get(1).floatValue();
    knobs[chan] = val;
}
}
read more ...