Skip to content

Hundred Edition

You'll write down what a good output looks like before you tune anything, then adjust the rules of one system until a hundred seeds in a row all pass.

About

Long-form generative art is the discipline of a system whose every output is one you'd sign, not one you'd pick from a pile. That means a quality bar written down first, with checks you can actually run, and then weeks of fixing the rules (not the seeds) until the empty, ugly and clipped outputs stop showing up. You'll need a random generator of your own rather than the library's, seeded from a string, so the piece doesn't change when p5 updates and the same seed renders the same anywhere, and a contact sheet of all hundred that you're willing to post with nothing removed. Most people find the first fifty are easy and the last ten failures take the longest.

At a glance

Per requirement
35 XP
Completion bonus
300 XP
Requirements
6
Takes
Three to five weeks
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
    Write the quality bar before you touch the code. Five to eight rules a stranger could check, like at least two colors visible, no element clipped by the edge, between 10 and 70 percent of the canvas covered, and a focal point inside the middle third. Take a photo of the list. Photo
  2. 2
    Replace the built-in random with a seedable generator. Implement a small PRNG such as mulberry32 or sfc32 in your own code, seed it from a string or a hash, and route every random call through it, including noise if you use it. Film the same seed rendering identically in two different browsers. Video
  3. 3
    Render a hundred seeds to a contact sheet and count the failures. Seeds 1 to 100 as thumbnails in a ten by ten grid, generated by code rather than by hand. Mark every one that fails your bar. Post the sheet with the failure count written on it, however bad it is. Photo
  4. 4
    Fix the rules, not the seeds, and show one failure that disappeared. Change a range, add a constraint or a fallback, and never a special case for one seed. Post the before and after of one failing seed with the rule change that fixed it. Photo
  5. 5
    Automate at least two of your checks. Coverage and clipping can be measured from the pixels, and so can the color count. Have the sketch print pass or fail to the console for each seed. Post a screenshot of the console run across all hundred. Photo
  6. 6
    Post the final hundred with nothing removed and name the edition. A ten by ten sheet where every piece passes, plus a title, a short statement and a render time per piece under 30 seconds. Write which rule took the longest to get right. Photo