Command-line demo (cli
)
Bitmap rendering and meshing from the command line
$ cargo run -pfidget-cli --release -- -i models/prospero.vm render2d -s512 --eval=vm -oout.png
Finished release [optimized + debuginfo] target(s) in 0.07s
Running `target/release/fidget-cli -i models/prospero.vm render2d -s512 --eval=vm -oout.png`
[2024-06-06T16:08:12Z INFO fidget_cli] Loaded file in 4.528208ms
[2024-06-06T16:08:12Z INFO fidget_cli] Built shape in 2.375208ms
[2024-06-06T16:08:12Z INFO fidget_cli] Rendered 1x at 14.489 ms/frame
Script viewer (viewer
)
Minimal desktop GUI for interactive exploration,
using egui
cargo run --release -pfidget-viewer
Constraint solving (constraints
)
Example of using Fidget for constraint solving.
Uses egui
and runs either on the desktop or as a web app.
cargo run --release -pconstraints
See the subfolder for details on bundling for the web.
Web-based editor (web-editor
)
Integrates Fidget into a TypeScript project (web only)
See the subfolder for details on bundling for the web.