.canvas Directory Contract
Status: Draft V1 · App-agnostic format spec · Last updated 2026-06-16
Grida Canvas engine, 2D graphics, WASM runtime, and scene graph concerns.
すべてのタグを表示Status: Draft V1 · App-agnostic format spec · Last updated 2026-06-16
Stacking order as sibling order within a parent — the four arrange operations as pure reorderings of the sibling sequence, and the on-canvas sort gesture that drags a member to a new slot.
The universal specification of the Grida canvas editor — its concepts, contracts, and the verification doctrine that any conforming implementation (web, native, headless) satisfies.
Canvas-specific AI toolset for editing Grida design documents — scene-graph operations, specialized inserts, canvas exec/lint/format, and resource lookup.
The on-canvas handle that edits a rectangle's corner radius in place — cardinality, placement, drag mapping, clamp, and the link/split modifier.
Realtime multi-instance editing of one Grida document — durable identity, optimistic replication with authority order, and convergence.
Convert text to its glyph-outline vector paths — the deliberate, font-baking counterpart to editable type; per-node and in-place, distinct from flatten's union.
Renderer-agnostic model for attaching glyphs (arrowheads, markers, ticks) to 2D paths using the path's local frame.
The destructive combine — convert a selection's shapes into one vector node per selection partition, baking geometry and discarding the originals.
The on-canvas name labels drawn above root frames and trays — the labeling rule, the badge/plain taxonomy, screen-anchored placement, in-place rename, and the root-frames bar as their aggregate.
The gradient session edits one gradient paint on the canvas: its
| feature id | status | description |
The image session edits one image paint on the canvas: the placement
Hypothesis
Isolation Mode restricts what the renderer draws and hit-tests to a specific
Universal positioning, dimensions, layout management with anchors, flex and grid.
A catalog of node and subtree properties where a zoom-aware Level-of-Detail
| feature id | status | description |
Procedural fractal Perlin noise effects with SVG filter semantics
A paint session is the editing context for one paint — a single
Per-side stroke widths for rectangular shapes (CSS border equivalent)
Reference sheet for estimating GPU render cost of 2D scene operations
A summary of optimization techniques for achieving high-performance
Fonts & Images (WASM / Embedded)
| feature id | status | description | PRs |
How node-level opacity interacts with fill and stroke paint when they
Pattern fills for SVG shapes — tiling a subtree as a repeating paint
This document describes the testing methodology and tools used to evaluate SVG rendering accuracy in Grida Canvas.
Status: Active — describes the current import strategy.
Non-normative — a collection of good-to-know practical notes and host/environment gotchas that inform canvas work but do not rise to a spec.
A canvas-level organizational primitive for grouping design elements without participating in layout.
The vector-network model behind Grida's vector editing: the topology a
Why Real WASM Benchmarking Matters