# Halation
> Gradient engine. One JSON spec renders identically on CPU and WebGL2 and exports to css, tailwind, tokens, svg, html, element, react, vue, glsl, three, png, json, url. OKLab mixing, dithered 8-bit, material finishes. Zero dependencies, Node 24.

- [Agent reference](AGENTS.md): every spec parameter with defaults, core API, CLI, MCP
- [Spec schema](schema/spec.schema.json)
- [Example specs](test/fixtures/)
- CLI: `node cli/halation.mjs render <spec> -o out.png`, `export <spec> --to css`, `from "<brief>"`
- MCP: `node mcp/server.mjs` (stdio). Tools: search_library, get_preset, from_brief, create, vary, recolor, export_gradient, render_png, check_legibility, lint, make_surface, palette_from_image
