PRO

Neon Iceberg

An engraved mountain on a gridded ice block, from toolcraft.sh/demos/neon-iceberg without its control panel. One three.js mesh holds a 192 by 192 height field, four perimeter walls and four base plates, and a single vertex shader raises the peak, folds its ridges and cuts the jagged seam where rock meets ice. The fragment shader lights the rock from a low side angle and engraves it with horizontal hatching that thickens in shadow, draws a square ink grid on every wall, and prints flowing lines on the plate tops. Every two seconds the base eases apart into four plates. Drag on the iceberg to orbit it.

Component
Install
npx shadcn@latest add @compronents/neon-iceberg

Installs from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.

Files
Checking access…
API
PropTypeDefaultDescription
settingsPartial<NeonIcebergSettings>NEON_ICEBERG_DEFAULTSOverrides for any of the 38 shape, pattern and material values or the two colours.
orbit{ position, up }The demo's three-quarter viewInitial camera pose. Dragging orbits from here.
playing / durationboolean / numbertrue / 2Loop the plates parting, seconds per loop. When off, the plates rest fully parted.
backgroundstring"#FAFAFA"Colour behind the iceberg.
renderScalenumber2Backing-pixel multiplier on top of devicePixelRatio.
className / stylestring / CSSProperties—Root styling. Fills its parent; the 3:4 artboard is contained and centred.
Customize
settingstuple

Shape, seam, grid, plate print, light and engraving values, plus rock and ice colours.

backgroundcolor

Colour behind the iceberg.

Dependencies
three