Skip to content

Egui integration for nannou

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-APACHE
Notifications You must be signed in to change notification settings

JoshuaBatty/nannou_egui

 
 

Repository files navigation

nannou_egui

Actions Status Crates.io Crates.io docs.rs

This is my egui integration for nannou. The purpose of this is to allow you to tune values for your generative art creations without requiring a compilation cycle.

There are a bunch of rough edges as this is really early in dev (and I am not familiar with webgpu). Most notably, right now you need to have MSAA = 1 in your window settings and scaling doesn't work at the moment. For inspiration on how to expose UI widgets, please check the egui repo as it has a lot of examples. You have sliders, color pickers, checkboxes, dropdownlists and many more widgets available.

For information on how to integrate it to your nannou creations, there's an example in this repo.

To run the circle packing example: cargo run --example circle_packing:

To run the color tune example: cargo run --example tune_color:

Todo

  • Easier integration for storing tunable parameters to disk.
  • Shortcuts for hiding the UI

About

Egui integration for nannou

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-APACHE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%