Skip to content

Grown Not Drawn

You'll implement a growth or simulation algorithm from its written description rather than from someone's code, and render a piece that looks like it grew.

About

Some of the best generative work comes from simulating a process rather than placing shapes: differential growth makes coral and brain folds, diffusion-limited aggregation makes frost and lightning, space colonization grows trees toward points, and reaction-diffusion makes spots and stripes. Each one is described in a paper or a well-known article in plain enough terms that you can build it from the description, and doing that instead of pasting code is the point. Expect it to be slow at first, expect it to explode in a way that looks nothing like the paper, and expect a spatial grid to be the fix again.

At a glance

Per requirement
35 XP
Completion bonus
300 XP
Requirements
6
Takes
A month
Skill level
Advanced (years of practice)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
On your own
Locked for now
Earn two more Uncommon badges in Generative Art to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Pick one algorithm and write its rules on a page in your own words. Differential growth, DLA, space colonization or Gray-Scott reaction-diffusion are the usual four. Before coding, write the rules, the parameters and what you expect to see. Take a photo of the page. Photo
  2. 2
    Get a first, ugly version running from your page alone. No reference code open. It can be slow and wrong. Film ten seconds of it running and write what it's doing that the paper didn't promise. Video
  3. 3
    Find the parameters that give the known forms. Gray-Scott with feed 0.055 and kill 0.062 gives coral, DLA with a stickiness below 1 gives denser clumps, and differential growth needs an insertion distance and a repulsion radius that roughly match. Post three outputs with the parameters written on each. Photo
  4. 4
    Make it run fast enough to iterate on. A spatial hash or a grid, a smaller neighborhood, or moving the hot loop into a shader. Post timings before and after for the same number of simulation steps. Photo
  5. 5
    Film the growth from start to finish. Record a time lapse of one run from seed to final form, at least twenty seconds long. Post it. Video
  6. 6
    Render one final piece at print size and say what it reminds you of. At least 4000 pixels on the long side, with a palette chosen on purpose. Post it, and write what natural thing it resembles and what the paper's authors were originally studying. Photo