[−][src]Function valora::run_fn
pub fn run_fn<F>(
options: Options,
f: impl Fn(Gpu, World, &mut StdRng) -> Result<F>
) -> Result<()> where
F: FnMut(Context, &mut Canvas),
Run an artist defined by raw functions.
Takes a function that produces the function that should paint each frame.