Docs · Components
CelestographPlate
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.
| Prop | Type | Default |
|---|---|---|
seedSame seed, same plate, always. Omitted, it is derived from the settings, so a given configuration always develops the same way. | number | — |
plate | PlatePreset | "developed" |
speciesstrata, marble, nebula and kin — named knob sets. | PlateSpecies | — |
knobs | Partial<PlateKnobs> | — |
chemistryA named chemistry, or two OKLCH anchors to derive one from. | keyof typeof CHEMISTRIES | Chemistry | "emulsion" |
anchors | { upper: string; lower: string; glow?: string } | — |
resolutionPaint 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 | — |