@glamour-labs/core
v0.1.6
Published
Headless engine for the glamour/v0 format — schema, validate, applyOps, and the env-agnostic scene + state-machine builder.
Maintainers
Readme
@glamour-labs/core
Headless engine for the glamour/v0 format — an AI-native document for interactive, animated vector canvases. This package is the format itself: schema, validation, the op vocabulary, and the environment-agnostic scene + state-machine builder.
pnpm add @glamour-labs/coreimport { validate, applyOps, palette } from '@glamour-labs/core';
const result = validate(doc);
if (!result.ok) console.error(result.errors); // names the offending node/state/bindMost apps don't import this directly — they use @glamour-labs/player
or @glamour-labs/react, which depend on it.
Full docs: glamour-labs/glamour-2d · MIT
