Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA soft studio scene of floating 3D primitives (torus, pill, rounded cube, sphere, octahedron, ring and coin) raymarched live in a WebGL shader with wrap lighting, glossy highlights, fresnel rims, ambient occlusion and soft shadows cast onto the backdrop. The camera follows the pointer with spring parallax, a click gives every shape a spin that settles with friction, and four palette presets (candy, clay, midnight, citrus) or your own colors set the mood. Children render on top; it falls back to CSS-shaded shapes without WebGL, renders one still frame under reduced motion, caps the pixel ratio and pauses offscreen.
Included in UltimateCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { GeometricShapesField } from "@/components/hyperblur-pro/geometric-shapes-field"
<div style={{ position: "relative", height: "100vh" }}>
<GeometricShapesField palette="candy">
<h1>Build in three dimensions</h1>
</GeometricShapesField>
</div>| Prop | Type | Default | Description |
|---|---|---|---|
| palette | "candy" | "clay" | "midnight" | "citrus" | "candy" | Preset backdrop and object colors. |
| colors | string[] | undefined | Custom object colors, repeated across the seven shapes. |
| background | [string, string] | undefined | Custom top and bottom backdrop colors. |
| speed | number | 1 | Float and rotation speed multiplier. |
| parallax | boolean | true | Camera follows the pointer with a spring. |
| shadows | boolean | true | Soft shadows on shapes and backdrop. Turn off for slower devices. |
| spinOnClick | boolean | true | Clicks spin the shapes, then friction settles them. |
| maxDpr | number | 1.5 | Upper limit for device pixel ratio. |
Source code is included in Ultimate