nannou_egui
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
- Fixing the current MSAA issue and
- Easier integration for storing tunable parameters to disk.
- Shortcuts for hiding the UI