A drawing application built with Svelte and Rust (compiled to WebAssembly).
wasm32-unknown-unknown target)cargo install wasm-packrustboard/
├── editor/ # Core Rust logic
│ └── src/
├── frontend/
│ ├── wasm/ # Rust translation layer (wasm-bindgen)
│ │ └── src/
│ └── src/
│ ├── lib/
│ │ ├── components/ # Svelte components
│ │ ├── stores/ # State management
│ │ ├── utils/ # Utility functions
│ │ │ └── canvas-operations/
│ │ └── wasm.ts # WASM module loader
│ └── routes/ # SvelteKit routes
└── pkg/ # Generated Wasm package
Install dependencies:
cargo install wasm-pack
cd frontend && npm install
Build the Wasm module:
npm run build:wasm:dev
Start the dev server:
npm start