Taking a break…

Tags: , , , , ,
Categories: coding, design, electronic culture, graphic design, interaction design, video
Hits for this post:229
Tiny URL: http://r-echos.net/lk/11511
Tuesday, March 13th, 2007 at 12:40 pm
Bookmark on del.icio.us | Twitter This Stumble This

Taking a break…: “

The magnetosphere project was getting away from me. It happens. It was option overload. So many things I wanted to do with it. My fuses got blown. So I decided to get back to my roots.

One of my first interests when I started working with Processing was the simple beauty of Perlin noise. I am not going to get into the explanation of Perlin noise for two simple reasons.

1) Its after midnight and I should start thinking about getting to bed.
2) I dont really understand it enough to explain it.

What I can say is that noise() in Processing will give you a smoothly changing set of numbers from 0.0 to 1.0 based on Perlin’s noise algorithm. Combined with the new-found wonderfulness of Shiffman’s Vector Library for Processing, I decided to take another stab at making a 3D flowfield based on Perlin noise.

I had attempted it a couple years back and had some decent results, but the z-axis part of it never quite made it over to the left side of my brain so I shelved it for a later attempt. That attempt happened tonight.

Okay, lets see if I can explain what is going on so when you view the video linked at the end of this post, you will get what I was going for.

First, I took short movie, in this case, a movie of me waving a cellphone in front of my iSight. It was short… 33 frames. I brought these frames into Processing and put them into a PImage array. These images were then rendered out in space from back to front so I ended up with a cube of images. The point wasnt to show these images, but I put them there for effect and for testing. The actual goal was to do three dimensional flow-field painting with several thousand particles.

Okay, so I made a 3D flow-field. With any luck and a little free time, I will get into the details of it at some point this week. This flow-field basically allows me to drop objects into the space and they will move based on the 3D vector which is closest to it. Think of a 3D space filled with arrows. The arrows tell objects near them which way to travel. The orientation of these arrows is based on Perlin noise. Throw 10,000 objects into this arrow field and you end up with a nice faux-flocking behaviour.

The images come into play when I color the objects moving through this space. Each object compares its position in the 3D space with the images in the 3D space and grabs the color from the pixel it is closest to.

I did a quick render of the thousands of objects moving through this space. It turned out fairly well. The next step is to use a webcam history instead of using a precanned video. I dont think the images will be all that recognizable, but the colors will cycle nicely.

Click here to view the quicktime.

[tags]coding, processing, java, 3d, generated[/tags]

(Via all manner of distractions.)

Related Posts




Leave a Reply

R-Echos

Subscribe in a reader




R-Echos context

Collections

* at the occasion of R-Echos issue 1 we organised some pages into topic oriented piles:

  • Displaying
  • un-Realisation
  • Physical Interface
  • Augmented Reality
  • Publishing
  • Geometry
  • Visualisation
  • Open Source Mobile Phone
  • Fab


  • Since 2004, R-Echos is an experimental online magazine dedicated to republication; topics vary from biology to graphic design, from ecology to business. It agglomerates anything which is about art, computing, science. His form is made out of collages of texts, links, images, references, videos and sounds - choosen with care to take part to this very personnal publication.



  • About
  • Articles
  • Beta version
  • Categories
  • Defragmentation
  • Directory
  • Fab
  • Index
  • Links
  • Monthly Archives
  • Open Source Mobile Phone
  • R-Echos issue 1
  • Somewhere else
  • Tags
  • Visual Index
  • Visualisation


  • Search R-Echos



    * curation / edition / selection is made by Electronest

    On Purpose: Design Concepts

    On Purpose: Design Concepts

    On Purpose: Design Concepts looks at conceptual design practices, the emergence of ‘meta design’, and the question of who or what can define something as design…
    With Åbäke, Droog Design, Daniel Eatock, Electronest, Ann-Sofie Back, Will Holder, Peter Jensen, Onkar Kular & Noam Toran, Metahaven, Alex Rich, Savage, Yuri Suzuki
    September 13 - [...]

    websites and White Cubes

    websites and White Cubes

    Dumb sign, originally uploaded by blackbeltjones.
    Been asked to work on the nominations for designs of the year again at the Design Museum, which is very nice.But it leads me back to this hoary old question – how should interactive work best be shown in a museum or gallery context? Should it be [...]

    R-Echos issue 1 - AMP001

    R-Echos issue 1

    An experiment in the economics of production: how can we shift focus from consumption of a finished product to investment in the processes of design, print & production?

    This is a poster and a text: an analog R-Echos
    Would you be interested in investing in the tangible production of this work?
    1. You can download the digital archive
    and [...]

    What if, VACANT LOT, Hoxton, London

    What if, VACANT LOT, Hoxton, London

    Related PostsBuilding and designing Digitalism’s IdealisticPaper Circuitssub-studio design blog: Herzog and de Meuron Parisian PyramidThe best CNC project machines - Hack a Daygreenpix zero-energy massive LED displayDIY Blubber BotBotanicalls Twitter DIYBuild Your Own War Bot - Wired How-To WikiHOW TO - Embroider digital imagesThe Shipyard ReturnsBottoms Up DoorbellThey [...]

    magazines as objects exhibition

    Colophon events this week

    Colophon events this week

    There are a couple of Colophon-related events in Europe this week. First up, Andrew Losowsky – that’s him above next to a copy of IsNotMagazine – has curated an exhibition of magazines as objects in Milan. CR Blog has an in-depth report with details – it sounds great, lots of magazine-y-ness. Andrew’s [...]



    R-Echos has its own tiny url system:

    * tiny url are url you can copy/paste into email without the risk of having a long line that surely will get broken and a link unusable.

    To get updates via email:

    mailinglist delivered via FeedBurner



    free advertising network