dorkhub

nannou

A Creative Coding Framework for Rust.

nannou-org
Rust6.7k330 forksupdated 2 weeks ago
visit the demogit clone https://github.com/nannou-org/nannou.gitnannou-org/nannou

nannou Actions Status Backers on Open Collective Sponsors on Open Collective

nannou_logo

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 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.

nannou is built on the Bevy game engine. Its crates are exposed as a set of Bevy plugins, so nannou's familiar sketch/app API and Draw interface can be used on their own or dropped into any Bevy application.

1 2 3

A Quick Note

It is still early days and there is a lot of work to be done. Feel free to help out!

The Guide

Examples

The following collection of examples are a great way to get familiar with nannou.

Directory Description
examples/ A collection of examples demonstrating how to use nannou!
generative_design/ Examples from Generative Gestaltung, ported from p5.js to nannou.
nature_of_code/ Examples from Nature of Code, ported from Processing to nannou.

If you spot an example that interests you, you may run it with the following:

cargo run --release --example <example_name>

where <example_name> is the example's file name without the .rs. Note that the first run might take a while in order to build nannou first, but consecutive runs should be much quicker.

Libraries

The following nannou libraries are included within this repository.

Library Links Description
nannou Crates.io docs.rs App, sketching, graphics, windowing and UI.
nannou_audio Crates.io docs.rs Audio hosts, devices and streams.
nannou_core Crates.io docs.rs Just-the-core for headless, embedded and libraries.
nannou_draw Crates.io docs.rs The Draw API for 2D and 3D graphics.
nannou_isf Crates.io docs.rs An Interactive Shader Format pipeline.
nannou_laser Crates.io docs.rs LASER devices, streams and path optimisation.
nannou_midi Crates.io docs.rs Simple MIDI input and output.
nannou_osc Crates.io docs.rs Simple OSC sender and receiver.
nannou_video Crates.io docs.rs Video decoding and playback.
nannou_webcam Crates.io docs.rs Cross-platform webcam capture.
nannou_wgpu Crates.io docs.rs WGPU helpers and extensions.

Links

more like this

q5xjs

A small and fast alternative (experimental) implementation of p5.js

JavaScript574

L5

L5 is a fun, fast, cross-platform, and lightweight implementation of the Processing API in Lua.

Lua62

3d-Constructs-Library

A developer library and resource vault for getting pre-compiled 3D particle coordinate distributions to implement inter…

TypeScript65

search

search projects, people, and tags