processing noise crawler

Nikolaus Gradwohl2016-06-23T08:57:13+00:00

For this processing noise-field exploration I created some particles that wander around on a plane. The location a particle goes to is calculated from its current location using a noisefield. I draw a small line from the current to the previous location and make the lines fade away very slowly so the trails the particle create while wandering around can be seen.

You can reset the particle locations to a random position by clicking on the sketch.

click here to start the sketch or download the sourcecode.

noise crawler

read more ...

noise modulo

Nikolaus Gradwohl2016-06-22T09:45:44+00:00

I wrote another processing sketch to explore the possibilities of 3D noise fields, this time I created height lines similar to those of a map on a noise field, the field gets slowly shifted upwards and is changed my the current frame count.

click here to start the sketch or download the sourcecode.

noise modulo

read more ...

boxed noise

Nikolaus Gradwohl2016-06-15T08:14:21+00:00

I made a new processing sketch that explores the possibilities of noise fields. This time I used a 3D noisefield to that influences the thickness and transparency of the lines used to draw boxes on a grid. The first two axes of the 3D coordinates used to gather the noise value are the location of the box, the z axis is mapped to the passing of time.

click here to start the sketch or download the sourcecode.

boxed noise

read more ...

slow dancing spiral - part 2

Nikolaus Gradwohl2016-06-09T07:37:10+00:00

I modified the slow dancing sprial, that I've written in processing yesterday, a bit. I added a blurrines factor to the position of the dots that sit on a spiral. Now the spiral dissolves to complete chaos from time to time only to restructure itself short thereafter. The blurriness is also controlled by a noise function based on the frameCount but with a different time scaling than the rotation values. I've set the scaling factors to random float numbers that share little to no common factors to prevent the movements from becoming to periodic.

click here to start the sketch or download the sourcecode.

dancing spiral - part 2

read more ...

slow dancing spiral

Nikolaus Gradwohl2016-06-08T05:30:47+00:00

I used processing to draw a few thousand dots along a spiral in space that rotates slowly, never ending and mesmerizing. The rotation values and the height of the spiral is influenced by noise-fields.

click here to start the sketch or download the sourcecode.

dancing spiral

read more ...

processing noise patterns

Nikolaus Gradwohl2016-04-18T04:49:49+00:00

I used the processing noise function to generate random masks and added them on top of each other using the tint function. This creates some interesting camouflage patterns

click on the image to run them

masks

read more ...

Green Desktop Image Generator

Nikolaus Gradwohl2016-03-24T06:58:46+00:00

I wrote a simple processing sketch today that allows me to generate green,noise-based, blocky, desktop-background images. So if you are in urgend need of one of those - like me - copy the code below and run it in processing :-)

example

you can also Download a hires version in case you are to lazy to run the code yourself

void setup() {
  size(1960,1280);
  noLoop();
  noStroke();
  colorMode(HSB, 255,255,255);
}

float s = 50;
void draw() {
  noiseSeed( frameCount );
  int wx = int(width/s);
  int wy = int(width/s);
  for( int x = 0; x<=wx; x++) {
    for( int y =0; y<=wy; y++) {
      fill( 50, 256, noise(x/2.0,y/2.0)*64+128);
      rect(x*s,y*s,s,s);
    }
  }
}

void keyPressed() {
  redraw();
}
read more ...

recursive field

Nikolaus Gradwohl2016-02-04T09:24:44+00:00

I create a processing sketch that takes an area subdivides it into 9 sub-areas and then randomly fills them or calls it self recursively for the sub-area. This leads to quite interesting forms.

click on the image to run the sketch or see the source code

recursive field

processing blender integration - a first test

Nikolaus Gradwohl2016-01-20T06:19:41+00:00

A view days ago I found the java.blend library by Holger Machens, a java library that allows reading and creating .blend files from java. This opens a whole new range of possibilities for creating blender animations, importing scripted content or using blender to model stuff for interactive applications, and and and. And whats also really cool in my opinion it allows me to combine two of my favorite tools Blender and Processing.

processing blender

I have already ported one of the example programs that comes with java.blend to processing and so far the experiments look very promising.

What this example does is creating a new blend file containing a cube and saving it at "/tmp/copybuffer.blend" This file is used as the clipboard in blender. So when this file exists you can insert its content to the current blender scene simply by pasting it.

to run the code open the sketch in Processing 3, download the jar files from java.blend and drag them onto your script window. This creates a "code" folder for your sketch and adds the needed jars to the import path.

create the copybuffer

when you run the sketch and click on the window you create the copybuffer blend file and can paste it into your blender scene.

paste it in blender

Conclusion: A very interesting new tool - I'm pretty sure I will add more experiments integrating Processing and Blender in the near future - so stay tuned :-)

pendulum

Nikolaus Gradwohl2015-08-20T06:37:26+00:00

I created a processing sketch that renders 18 pendulums with slightly different frequencies

click on the image to run them

pendulum