Overview
micrrou
is a Rust crate that aims to wrap and simplify nannou
. While nannou
has good interfaces on its own, micrrou
aims to combine common use cases to reduce boilerplate code.
The other objective of micrrou
is to provide some algorithms that hopefully helps in generating art through code.
Examples
Examples are provided in the examples
directory.
Creating a blank canvas example is shown below.
use Iter;
use *;
Here, we have the nannou_app::launch
function create an empty blank canvas using MyModel
as the model with a 900x900 pixel canvas.
macrrou
maccrou
is an optional procedural macro alternative to setup a nannou_app
.
use Iter;
use launch_nannou_app;
use ;
Here, we make use of the launch_nannou_app!
macro using ModelData
as the Model
with a 900x900 pixel canvas.