Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.4 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.4 KB

Fidget demos

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

screenshot of script 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

screenshot of constraint editor

See the subfolder for details on bundling for the web.

Web-based editor (web-editor)

Integrates Fidget into a TypeScript project (web only)

screenshot of web editor

See the subfolder for details on bundling for the web.