Curling Animation II

Nikolaus Gradwohl2010-08-22T14:02:35+00:00

I made another animation with Context Free Art and a small ruby script. The scroll down to see the sourcecode I have used for this file. This animation uses the same technique i used for my first one

Curling Recursion 2 from Nikolaus Gradwohl on Vimeo.

read more ...

Part of a Rainbow

Nikolaus Gradwohl2010-08-21T15:18:21+00:00

Sometimes rainbows try to hide behind the clouds rainbow

read more ...

hand drawn stop motion very-short-film

Nikolaus Gradwohl2010-08-20T04:50:58+00:00

This are very small pencil doodles i made while waiting that the "percusion-drill-in-concrete"-sounds in my flat go away. I then turned them into an short movie. and - tataaaa! - here it is

tataaaa! from Nikolaus Gradwohl on Vimeo.

read more ...

Spool Holder printed on Makerbot

Nikolaus Gradwohl2010-08-19T06:35:31+00:00

I have some spools with cables lying around on my working desk. so i printed 2 spool holders on my makerbot to tidy things up a bit.

downlaod the openscad file or the stl file to print them.

spoolholder1 spoolholder1

read more ...

OpenFrameworks boid demo

Nikolaus Gradwohl2010-08-19T04:42:45+00:00

I made a small boids demo in openframeworks. It is more or less a port of the boids demo i made in processing a while ago.

It's bin a while since i wrote c++ the last time, so i'm pretty sure i have forgotten to free some memory or have done something very unc++y :-)

of boids

read more ...

Calling R from Processing

Nikolaus Gradwohl2010-08-10T20:31:01+00:00

Processing is a simple and powerfull programming language to create images, animation and interaction.

R is a powerfull free software environment for statistical computing.

For me this sounds like a perfect match. This is a short howto that shows how these two languages can comunicate with each other.

On the R-Side I use the Rserve extension, which can be installed by calling

install.packages("Rserve")

from within the R environment.

By calling

library(Rserve)
Rserve()

from within the R, you can start a serverprocess that accepts commands on a network socket and can be used by a javaclient to execute R commands.

procesing2r

In the processing sketch we need to add the two jar files of the javaclient that can be downloaded at the Rserve download page http://www.rforge.net/Rserve/files/

just add the jar files to the sketch using "Add file ..." from the "Sketch"-Menu.

Now we can use the REngine class to execute some R code in the server process and ask R to return the calculated data

read more ...

little 3D figure

Nikolaus Gradwohl2010-08-08T19:24:00+00:00

My boss asked me to clone myself several times, so i started by making a little 3d figure in blender and printed it on my Makerbot. Not quite a clone of me, but every journey begins with a first step :-)

click here to download the stl file

figure

read more ...

raining processing sketch

Nikolaus Gradwohl2010-08-08T16:57:27+00:00

My latests simple but useless processing sketch was inspired by the weather we had last week :-/

click here to see it in action

rain

read more ...

how to use the mousewheel in processing

Nikolaus Gradwohl2010-08-01T20:16:38+00:00

Mouse-events like move, drag or click are very simple to implement in processing. Only the mouse-wheel needs some special handling.

To get the mouseWheel events in processing the sketch needs to register a mouseWheelListener int the setup method

void setup() {
  size(300,300);
  smooth();
  addMouseWheelListener(new java.awt.event.MouseWheelListener() { 
    public void mouseWheelMoved(java.awt.event.MouseWheelEvent evt) { 
      mouseWheel(evt.getWheelRotation());
  }}); 
}

and then a handler function that gets called by the listener every time the mousewheel is triggered

void mouseWheel(int delta) {
}

The value of delta indicates the direction and the speed by which that scroll-wheel has been turned.

Click here to see an applet that implements the callback function and zooms some rects.

read more ...

Holliday Monsters

Nikolaus Gradwohl2010-07-30T07:32:01+00:00

These are some monsters i found in during my holliday

read more ...