More
See all Show me
11. Sky Ear
1 year ago
8. Open Burble
1 year ago
4. Remote
2 years ago
3. Burble London
2 years ago
1. brain coral simulation
2 years ago
experiment to generate patterns found on the surface of brain coral(and then get it to 'breathe'). built with Processing.

Credits

5 Likes

  • Ryan Bateman 2 years ago
    Interesting stuff. What's the simulation based on? Some maths / background to it you can share?
  •  
  • ichbinadrian 2 years ago
    Very nice. I love the last few seconds. And yes, would be lovely to get into these algorythms.
  •  
  • haque d+r 2 years ago
    thanks for the nice words.
    the algorithm is quite simple (and may be totally wrong) but its based on bits and pieces extracted from e.g.these links: haque.tumblr.com/post/25464678
    it's pretty much a normal particle system with the following position modifier which makes particles have both short-range attractive and long-range repulsive forces (i.e. here attraction is proportional to 1/d^2 and repulsion is proportional to 1/d^3):

    distance = sqrt(sq(dx) sq(dy));

    if (distance > 2.0){ // to avoid infinity
    if (distance < minDistance){
    minDistance distance;
    closest = i;
    c[i].connect();
    }

    attraction = attractionConstant / (distance * distance);
    repulsion = repulsionConstant / ( distance * distance * distance);

    attraction -= repulsion;
    xChange = attraction * dx;
    yChange = attraction * dy;
    totalXChange = xChange;
    totalYChange = yChange;
    }
  •  
This conversation is missing your voice. Take five seconds to join Vimeo or log in.

Advertisement

1 Related collections

Statistics

  •  
    plays
    likes
    comments
  • Total
    plays 712
    likes 5
    comments 3
  • Dec 2nd
    plays 0
    likes 0
    comments 0
  • Dec 1st
    plays 1
    likes 0
    comments 0
  • Nov 30th
    plays 1
    likes 0
    comments 0
  • Nov 29th
    plays 2
    likes 1
    comments 0
  • Nov 28th
    plays 0
    likes 0
    comments 0
  • Nov 27th
    plays 2
    likes 0
    comments 0
  • Nov 26th
    plays 1
    likes 0
    comments 0
  • Nov 25th
    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.