Skip to content
Backgrounds30 / 118

Night Garden

An engraved garden of flowers, drawn entirely in code like a silver etching: three layers of blossoms with rings of petals, ink outlines, dark seams and fine line shading, stippled centres and serrated leaves tucked beneath. It grows lush and bright at the edges and falls into a calm, dark centre where your headline reads, and every flower breathes and turns slowly at its own depth. Your cursor is a lantern: the flowers under it open wider, turn toward you and fill with rose, violet and gold while the layers shift in parallax. A click sends a ring through the garden that bursts every flower it passes open, scrolling turns the flowers and slides the layers in depth, and on load the garden blooms from the edges inward.

WebGL2Procedural flowersLantern revealReal bloomGSAPReduced-motion safe
Light the gardenClick to make it bloom

Tweak

LIVE

Colour

#ece8f2
#ff5c8a
#8a6bff
#ffb547
#030303

Garden

0.12
0.70
1.00

Motion

1.00
0.60

Interactive

Lantern opens and colours the flowers, click for a bloom ring

Props

12 props
  • inkstring
    Colour of the engraving (the resting flowers).default "#ece8f2"
  • colors[string, string, string]
    The three petal colours the lantern reveals.default ["#ff5c8a", "#8a6bff", "#ffb547"]
  • backgroundstring
    Background colour.default "#030303"
  • colorfulnessnumber
    How much colour the garden shows at rest, 0 (pure engraving) to 1.default 0.12
  • focusnumber
    How dark and calm the centre is, 0 to 1.default 0.7
  • scalenumber
    Flower size multiplier.default 1
  • speednumber
    Speed of the breathing and turning.default 1
  • glownumber
    Strength of the bloom on lit petals.default 0.6
  • interactiveboolean
    Lantern, click bloom ring and scroll response.default true
  • scrollerElement | null
    Scroll container, if the page does not scroll the window.
  • childrenReactNode
    Foreground content, drawn above the garden.
  • classNamestring
    Size it, e.g. h-screen w-full.