canvas-core
Core canvas logic for Saorsa Canvas — scene graph, state management, input handling, and persistence.
Features
- Scene graph with typed elements (text, charts, images, 3D models)
- Transform system with position, size, rotation, and z-ordering
- State management with undo/redo history
- Scene persistence via
SceneStore - Compiles to WASM for browser deployment
Installation
[]
= "0.1.4"
For WASM targets:
[]
= { = "0.1.4", = ["wasm"] }
Usage
use ;
let mut scene = new;
scene.add_element;
License
MIT OR Apache-2.0