1 unstable release
0.0.1 | Nov 9, 2023 |
---|
#11 in #figma
Used in radiantkit
14KB
370 lines
Build Graphics Apps 10x Faster!
RadiantKit
RadiantKit is an in-development framework to build graphics applications (like Figma, Canva, Miro, etc) that's free and open source.
It introduces a node-component-system for efficient rendering, while ensuring complete extensibility. It can support both native and web (via WebAssembly) platforms.
Basic Example
Install rust and follow these steps:
cd examples/basic
cargo run
Egui Integration Example
Install rust and follow these steps:
cd examples/egui
cargo run
Web Examples
Install yarn and follow these steps:
cd examples/web
yarn install
yarn build:wasm
yarn start
Tauri
Follow steps for web till #3. Then, run yarn tauri dev
.
Collaborative Editing
RadiantKit now supports real-time collaborative editing. Follow these steps to set it up:
Run the backend server:
cd backend
cargo r
Run egui app with a client id of 2:
cd examples/egui
cargo r 2
Run the whiteboard app (which runs with a default client id of 4):
cd apps/whiteboard
yarn install
yarn start
Dependencies
~0.7–1.3MB
~28K SLoC