Docs · Components

CelestographPlate

pnpm dlx shadcn add @01orbital/celestograph-plateclient componentpreview

This one paints to a canvas, so it needs the browser and carries "use client" — import it from a client component, or from a server component as a leaf.

Props

7 props. Read straight from packages/core/src/components/celestograph/celestograph-plate.tsx, so this page cannot drift from the types.

PropTypeDefault
seed

Same seed, same plate, always. Omitted, it is derived from the settings, so a given configuration always develops the same way.

number
platePlatePreset"developed"
species

strata, marble, nebula and kin — named knob sets.

PlateSpecies
knobsPartial<PlateKnobs>
chemistry

A named chemistry, or two OKLCH anchors to derive one from.

keyof typeof CHEMISTRIES | Chemistry"emulsion"
anchors{ upper: string; lower: string; glow?: string }
resolution

Paint width in pixels. Omitted, the plate is painted at the size of the box it lands in (device pixels, capped), so it is never stretched.

number