Skip to content

Design study 11 · Generative saguaro garden

Illustration that never repeats — and never needs a designer to redraw it.

A seeded generator lays out a dusk sky, mesas, three dune layers, and between seven and eleven saguaros — trunks, arms, ribs, and blossoms — that grow out of the sand in sequence when the scene comes into view. Press “Grow another” for a new desert; the same seed always grows the same garden.

Concept build · not client work

Written for this site to demonstrate the technique. On your project it would be designed around your brand, content, and performance budget.

Live demo: Generative saguaro garden

Try it: Scroll it into view to watch it grow, then press “Grow another” for a new seed. Live demo — running in your browser
Built with
Canvas 2D · Generative · Seeded random
Libraries
None — plain browser code
Starts
When it nears the screen
Reduced motion
Still frame + Play button
Script weight
Measured when the demo loads

The case study

What it solves, and how it stays fast.

01

The problem it’s built for

Brand illustration is usually drawn once and repeated everywhere. Generative illustration keeps a consistent style while producing endless variations — useful for personalised results, quiz outcomes, or backgrounds that feel fresh on every visit, all from one piece of code.

02

How it’s built

  • A seeded random generator decides every placement, size, and colour, so any garden can be reproduced exactly from its seed number.
  • Each saguaro is built from simple rules — trunk, arm count and height, ribs, blossoms — inside the brand palette.
  • Growth is staged: cacti rise one after another once a third of the scene is visible.
  • An aria-live message announces each new garden for screen-reader users.
03

Performance choices

  • The static backdrop (sky, mesas, dunes) is drawn once to an offscreen canvas and reused every frame.
  • The animation loop sleeps as soon as growth finishes — a finished garden costs nothing.
  • Growth only starts when the scene is about a third visible, and pauses offscreen.
04

Accessibility & fallbacks

  • The canvas is described as an image; “Grow another” is a real button with an announced result.
  • With reduced motion, the finished garden appears at once instead of growing.
  • Purely decorative — no information lives only inside the drawing.

Where it fits

Where a design like this earns its place.

Branded illustration, playful explainers, “here’s your result” moments.

Quiz & calculator results

A unique illustration as the “here’s your result” moment.

Playful explainers

Illustrated sections that feel hand-made but scale to any page.

Local & outdoor brands

Place-based illustration — desert, coast, mountain — in your palette.

Scoped like everything else: available on its own or added to any website package, flat-quoted in your launch plan with a written performance budget — what it does, what it may weigh, and how it behaves on phones and with reduced motion.

Want a moment like this on your site?

Tell us where it should go. You get a written scope, a performance budget, and one flat quote — before anything is built.

Prefer to start with a quick message? Use the message button in the corner — a real person replies, typically within one business day.

Use the up and down arrow keys to move through results, Enter to open one, Escape to close.