Components

Holographic Terrain

Three.js wireframe terrain animated with layered sine waves and a cursor-reactive Gaussian bump. Mouse hover deforms the mesh in real time.

npx neonblade add holographic-terrain

Holographic
Terrain

Props Configuration

PropTypeDefaultDescription
lineColorstring"#00ffff"Wireframe line colour (hex).
bgColorstring"#020a0a"Renderer background colour and fog colour (hex).
waveAmplitudenumber0.8Peak height of animated sine waves in world units.
waveFrequencynumber1.5Spatial frequency of the terrain waves. Higher = more peaks.
waveSpeednumber1Animation speed multiplier.
bumpRadiusnumber3.5Radius of the cursor interaction bump in world units.
bumpStrengthnumber2.5Peak height of the Gaussian bump raised by cursor hover.
planeWidthnumber24Terrain width along the X axis in world units.
planeDepthnumber24Terrain depth/length along the Z axis in world units.
cameraHeightnumber10Camera Y position above the terrain origin. Camera Z is auto-derived (height × 1.4) to maintain a ~35° viewing angle.
gridSegmentsnumber60Subdivisions per axis of the terrain plane (higher = more detail, more GPU cost).
fogbooleantrueExponential fog that fades terrain edges into bgColor.
opacitynumber100Overall scene opacity (0–100).
classNamestringundefinedExtra class names applied to the wrapper div.