A Quick Note

This project is brand new and there is a lot of work to be done. Feel free to help out!

nannou Build Status Crates.io Crates.io docs.rs

An open-source creative-coding toolkit for Rust.

nannou is a collection of code aimed at making it easy for artists to express themselves with simple, fast, reliable, portable code. Whether working on a 12-month laser installation or a 5 minute sketch, this framework aims to give artists easy access to the tools they need.

The project was started out of a desire for a creative coding framework inspired by Processing, OpenFrameworks and Cinder, but for Rust. Named after this

Getting Started

See what the code looks like by checking out the examples. See the following section to learn how to run these examples.

If you're new to Rust, maybe check out the official book?

Start your own project with: cargo new my_project cd my_project Add nannou = "0.1" under the [dependencies] line in your Cargo.toml. This is everything you need to use the framework in your own project or sketch. Rust's package manager cargo will automatically download and install everything you need!

Running Examples

Clone this git repo (which contains the examples) to your computer. git clone https://github.com/MindBuffer/nannou Change the current directory to nannou. cd nannou Run the example using cargo. cargo run --release --example simple_window The --release flag means we want to build with optimisations enabled.

To run any of the other examples, replace simple_window with the name of the desired example.

Goals

Why Rust?

Rust is a language that is both highly expressive and blazingly fast. Here are some of the reasons why we choose to use it: