Mediaexperimental
Anaglyph
3D anaglyph image
A picture split into two eyes that converge wherever the pointer rests.
Customize
Eyesconverge pulls the channels together under the pointer
mode14 px
separation0.40
depth14 px
radiusUsage
<Anaglyph />Generated from the controls above. Only props that differ from their defaults are shown.
Props
| Property | Type | Default | Description |
|---|---|---|---|
mode | "converge" | "parallax" | "converge" | Mode. |
separation | number | 14 | Separation. Range 0 to 60 px. |
depth | number | 0.4 | Depth. Range 0 to 1. |
radius | number | 14 | Radius. Range 0 to 48 px. |
src | string | — | Any image URL or local asset. |
alt | string | — | Describes the picture once, on the plate underneath. |
Dependencies
0 external runtime dependencies
Ships with nothing but React.
Experimental: still under evaluation and not part of the published package yet.