Hero 400 block design & features
Hero400 is a full-screen glass maker hero built with shadcn/ui and WebGL. The heading, description, two buttons and a pricing line sit on the left, and a tall rounded panel on the right shows a bright living room through vertical fluted glass.
Each reed is modelled in a fragment shader as a small cylinder that flips and widens the slice of the room behind it, with soft shading and a thin line between reeds. A clear vertical band follows the pointer across the panel, and inside it the reeds relax back to a sharp photograph. On load the band sweeps in from the left, then wanders slowly back and forth until the pointer takes over.
It suits glaziers, interior designers, bathroom brands and architecture practices. The stage uses theme tokens, so it works in light and dark mode, and visitors who prefer reduced motion get a still panel with one clear band.
