ZeroGravity UI

Mediaexperimental

Gaze

3D pointer tracking

A model whose eyes lead and whose head follows, wherever the pointer goes.

The owl is original, built from primitives: no asset to download or credit. Three.js loads only when a Gaze mounts.

Customize

Trackingeyes lead and the head follows; both are clamped
1.00sensitivity
34 °maxYaw
18 °maxPitch
0.100damping
0.60headDelay

Usage

TSX
<Gaze />

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

Props

9 documented props on Gaze
PropertyTypeDefaultDescription
sensitivitynumber1Sensitivity. Range 0.2 to 3.
maxYawnumber34Max yaw. Range 0 to 60 °.
maxPitchnumber18Max pitch. Range 0 to 40 °.
dampingnumber0.1Damping. Range 0.02 to 1.
headDelaynumber0.6Head delay. Range 0 to 0.9.
srcstring—A `.glb` or `.gltf` URL. Omit it for the built-in low-poly owl.
tracking{ head?, leftEye?, rightEye? }—Node names in your model. Missing ones are skipped.
labelstring"A model that follows the pointer"Describes the model for anything that cannot see it.
disabledbooleanfalseHolds the neutral pose instead of following the pointer.

Dependencies

1 external runtime dependencythree

Experimental: still under evaluation and not part of the published package yet.