Agents

agentart
You can program agents to help with your designs.

images
By programming objects (AKA agents) to move while leaving a trail behind, you can enlist the computer to collaborate with you on interesting generative designs.

block3

I. Simple Agents

Here’s How it Works:

agents

Sample Design:

DUMB-AGENTS

Download and Play with this Code Here

block3

II. Complex Agents

Programs can be fine tuned for more control over the design output.

Run the following code and see if you can guess what rules the program has set to control the agents (without looking at the comments). 

agents4

Complex Agents Code Example

block3

III. 3D Forms from Shapes

In this code, a circle’s trail forms 3D tubes. The points of the circle randomly shift along its curve and morph the tube into new shapes.

131219_122945_9255

131219_142613_8003Try It

block3

IV. Growth Structures from Agents

Complex patterns are derived from the propagation of simple shapes. Here the instructions are: “Draw a new circle and position it as close as possible to its nearest neighbor.”

growth

131220_123634_154

This type of algorithm also describes the growth processes found in plants and minerals.

 

131220_123651_996

Growth Agents Code Sample

block3

V. Structural Density From Shape Repetition 

Here the code packs in the circles so densely that gaps are closed.

131220_131527_25

131220_132318_8577

Structural Density Code Example

block3

generative0design