Hero 355 block design & features
Hero355 is a print-inspired, full-screen hero built with shadcn/ui and React Three Fiber. A tall condensed headline, one line of copy and two buttons sit on the left, and a two-colour poster of suns, bars, a half moon and a dot grid fills the right side of the page.
The whole poster, headline included, is one fragment shader that imitates a risograph duplicator. Each ink drum gets its own density map of flat shapes and tone ramps, which is turned into coverage by thresholding it against fine stochastic grain, so gradients break up into dots just like real soy ink on paper. The headline is laid out as a real HTML heading, then painted onto an offscreen canvas at the exact positions the browser chose and fed to the shader as a third stencil. It prints on both drums, so the letters overprint a deep violet with grainy edges and redraw whenever the font loads or the layout changes.
Moving the cursor slips the blue drum out of register against the pink, splitting the headline into pink and blue fringes while the shapes slowly orbit and rock on their own. When the pointer rests, an autopilot keeps nudging the registration, and with reduced motion the print holds still with a slight offset. The supporting copy and primary button pick up a small offset in the second ink. The two ink colours and the speed are props, and in dark mode the inks print onto the dark page instead of white stock. It suits print studios, zines, record labels and independent publishers.
