Skip to content
Backgrounds40 / 118

Winter Canopy

Lie back in a winter forest at dusk and look up. A real photograph brought to life: bare black branches reach across a cold slate sky, the thin twigs swaying in the wind while the near trunks barely move, soft clouds drifting behind them, and fine snow falling toward you, the nearest flakes melting into soft out-of-focus discs. A depth map gives true 2.5D parallax as the cursor moves, and the cursor is a moon behind the clouds: the sky glows around it and the branches stand out as silhouettes. A click sends a gust through the trees and a flurry of snow, scrolling draws you up toward the sky and turns the view, and on load your eyes come into focus. Bring your own photo and depth map to make it yours.

WebGL2Real photoDepth parallaxWind + snowReal bloomGSAPReduced-motion safe
Move the moonClick for a gust of snow

Tweak

LIVE

Weather

1.00
0.50
1.00
#cfdcff

Motion

1.00
1.00

Interactive

Moonlight and parallax at the cursor, click for a gust of snow

Lens

0.30
1.00

Props

16 props
  • imagestring
    The photo.default "/backgrounds/winter-canopy/sky.jpg"
  • depthImagestring
    Its depth map, white = near (parallax, and how much each part sways).default "/backgrounds/winter-canopy/depth.png"
  • center[number, number]
    Where the trees converge in the photo, 0 to 1.default [0.53, 0.55]
  • fitnumber
    How much of the screen width the photo spans (1 = cover); below 1 the forest continues past the sides as a soft mirror image.default 1
  • windnumber
    Strength of the wind in the branches.default 1
  • snownumber
    How much snow falls, 0 for none.default 0.5
  • cloudsnumber
    Drifting clouds behind the branches.default 1
  • moonstring
    Colour of the moonlight around the cursor.default "#cfdcff"
  • glownumber
    Strength of the bloom on the snow and moonlight.default 0.3
  • parallaxnumber
    Depth parallax strength.default 1
  • speednumber
    Speed of all the motion.default 1
  • backgroundstring
    Shown while the photo loads.default "#14171c"
  • interactiveboolean
    Parallax, moonlight, click gust and flurry, scroll.default true
  • scrollerElement | null
    Scroll container, if the page does not scroll the window.
  • childrenReactNode
    Foreground content, drawn above the forest.
  • classNamestring
    Size it, e.g. h-screen w-full.