ZeroGravity UI

Mediaexperimental

Anaglyph

3D anaglyph image

A picture split into two eyes that converge wherever the pointer rests.

Abstract poster of a sun setting behind layered hills

Customize

Eyesconverge pulls the channels together under the pointer
mode
14 pxseparation
0.40depth
14 pxradius

Usage

TSX
<Anaglyph />

Generated from the controls above. Only props that differ from their defaults are shown.

Props

6 documented props on Anaglyph
PropertyTypeDefaultDescription
mode"converge" | "parallax""converge"Mode.
separationnumber14Separation. Range 0 to 60 px.
depthnumber0.4Depth. Range 0 to 1.
radiusnumber14Radius. Range 0 to 48 px.
srcstring—Any image URL or local asset.
altstring—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.