Nature of Code – Complex Systems

Hybrid Flocking and Nodes
(combining target nodes and flocking)

This sketch is a small experiment combining 3D nodes and a flocking system. Sources include Yiannis Chatzikonstantinou’s Ribbon Kit and Daniel Shiffman’s Flocking example. The boid behavior combined from a simple target node and variable cohesion, separation, and alignment… offers an interesting variation where initial nodes generate boids that have an initial target of another node, but when they encounter other boids “cross-talk” or emergent trajectories converge (seen below as mid point clusters between multiple nodes). The number of boids and paths are limited for the capacity of the system. This results in a greater number of nodes failing to connect… which could be interpreted as illustrating a conservation of energy or network capacity (or simply maintaining speed with a finite amount of computational power, as is the case). 

Applet and source
(add node with right click, navigate 3D (PT) with left click and drag, wheel or two fingers for zoom (Z))

This entry was posted in Nature of Code, Spring 2011. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">