More
See all Show me
Quick test of 'game of life' animations made in processing. The shapes are built on a 2-d grid from the game and are assigned 3-d positions from color values.

photos on flickr:
flickr.com/photos/sansumbrella/sets/72157604252156191/
  • h4t 2 years ago
    Very nice lighting. Did you use a raytracer, or just ambient GL lighting? Very artistic :)
  • David Wicks 2 years ago
    Thanks. The lighting actually isn't there at all. All of the cubes are drawn with two different colors, openGL does the work of interpolating between them. Since the light colors are all on one side of the cubes/triangles, and the dark colors are all on the opposite, it gives the illusion of some shading.

    A quick working example:
    import processing.opengl.*;
    size(400,400, OPENGL);

    background(255);
    noStroke();

    beginShape();
    fill( 255, 0, 255 );
    vertex( width*0.25, height*0.25 );
    vertex( width*0.75, height*0.25 );
    fill(127, 0, 255 );
    vertex( width*0.75, height*0.75 );
    vertex( width*0.25, height*0.75 );
    endShape();
  • h4t 2 years ago
    Ahh, haha, Tricky. I didn't realize GL did that by default, good to know, thanks for the example!
  •  
This conversation is missing your voice. Take five seconds to join Vimeo or log in.

Advertisement

Photos

Statistics

  •  
    plays
    likes
    comments
  • Total
    plays 247
    likes 4
    comments 3
  • Dec 3rd
    plays 0
    likes 0
    comments 0
  • Dec 2nd
    plays 1
    likes 0
    comments 0
  • Dec 1st
    plays 0
    likes 0
    comments 0
  • Nov 30th
    plays 0
    likes 0
    comments 0
  • Nov 29th
    plays 0
    likes 0
    comments 0
  • Nov 28th
    plays 0
    likes 0
    comments 0
  • Nov 27th
    plays 1
    likes 0
    comments 0
  • Nov 26th
    plays 0
    likes 0
    comments 0
Previous Week

Downloads

Please join Vimeo or log in to download the original file. It only takes a few seconds.