Pixel Sculpt

An image rebuilt as a relief of instanced tiles that ripple under the pointer

Customize

Resolution
100
Depth
8.0
Gap
0.05
Interaction Radius
18.0
Interaction Strength
1.00
Click Strength
2.0
Background Tolerance
0.12
Tilt
45°
Scale
1.20
Offset X
0.00
Offset Y
0.00
Rotation
0°

Props

27
srcstring

Image the tiles are sculpted from.

Default—
resolutionnumber

Tiles along the image's longer edge, capped at 160.

Default72
depthnumber

Height of a fully lit tile, in tile widths.

Default4
gapnumber

Space between tiles as a fraction of a cell.

Default0.15
tileShape"square" | "round" | "hex"

Footprint of each tile.

Default"square"
interactionRadiusnumber

Radius of the pointer wave, in tiles.

Default6
interactionStrengthnumber

Amplitude of the pointer wave.

Default1
hoverEffect"raise" | "tilt" | "separate"

How tiles respond inside the pointer wave.

Default"raise"
clickEffect"pulse" | "scatter" | "rebuild" | "none"

What a click on the tiles triggers.

Default"pulse"
clickStrengthnumber

Amplitude of the click effect.

Default1
colorMode"image" | "mono" | "luminance"

Where tile colour comes from.

Default"image"
baseColorstring

Tile colour for the mono and luminance modes.

Default"#ffffff"
backgroundColorstring

Backdrop behind the tiles.

Default"transparent"
invertboolean

Make dark pixels tall instead of bright ones.

Defaultfalse
removeBackgroundboolean

Drop a flat backdrop that touches the image edges, as if it were transparent.

Defaultfalse
backgroundTolerancenumber

How far a pixel may stray from the backdrop colour and still be removed, 0 to 1.

Default0.12
tiltnumber

Camera angle from straight down, in degrees.

Default32
scalenumber

Zoom relative to the fitted framing, 1 fills the viewport.

Default1
offsetXnumber

Horizontal shift as a fraction of the sculpture's width.

Default0
offsetYnumber

Vertical shift as a fraction of the sculpture's height.

Default0
rotationnumber

Yaw of the sculpture in degrees; auto-rotation spins on top of it.

Default0
autoRotateboolean

Slowly spin the sculpture.

Defaultfalse
rotateSpeednumber

Rotation speed in turns per minute.

Default2
dprnumber

Upper device pixel ratio bound.

Default2
onError(error: Error) => void

Called when the image fails to load or sample.

Defaultundefined
classNamestring

Extra classes applied to the root.

Defaultundefined
childrenReactNode

Content layered above the effect.

Defaultundefined