nannou Rust creative-coding toolkit with drawing, interactive applications and modular audiovisual facilities.
Overview nannou is a creative-coding toolkit for Rust, intended for visual sketches and custom interactive applications. Version 0.20 is built on Bevy while retaining sketch and application entry points and a drawing API. Its modules provide a route from small visual experiments toward larger audiovisual software, with compiler, dependency and device requirements remaining part of deployment.[1] [2]
Contents Sketches and larger applications The sketch entry point is deliberately small: it draws to one window without a model or event handlers. The fuller application route provides more structure, and NannouPlugin can be added to an existing Bevy application. This allows a visual experiment and an integrated application to use related facilities without treating the smallest sketch template as a complete architecture for every interactive installation.[2] [3]
Drawing as recorded commands The Draw API records operations such as shapes, paths, text and textures, then converts them into meshes for rendering. Its Bevy plugin attaches drawing support to windows and processes the commands each frame. This is a programmatic rendering interface; it does not supply a finished scene editor or remove the need to define the visual composition and interaction in code.[4]
Audio is a separate module The audio API exposes hosts, devices, streams and buffers for reading or writing audio. It includes tools for reconciling device callbacks with differing buffer sizes. These facilities support audiovisual applications, but an audio module's presence does not establish compatibility with every interface configuration. Available stream formats and device behavior remain relevant when transferring a working installation to another computer.[5]
The 0.20 architecture change The changelog describes 0.20 as a Bevy-based overhaul. Familiar model/update/view concepts remain, but window identifiers and event types change, view callbacks no longer use the old Frame argument, and GUI integration moves away from nannou_egui. The former nannou_new and nannou_package tools are removed. Audio streams also now start paused after construction. These are concrete migration requirements for older examples, not merely a different version number.[6]
Toolchain and platform requirements Examples are compiled through Cargo, which resolves and builds dependencies. The workspace uses the Rust 2024 edition, and the guide has platform-specific preparation for Windows, macOS and Linux, including native build and audio dependencies. Some setup prose refers to older tool versions, so the chosen release's manifest and current APIs matter more than copying an old tutorial's assumptions unchanged.[7] [8] [9]
Licensing and reproducibility The workspace declares a choice of MIT or Apache-2.0 licensing. Dependencies have their own terms, and the manifest records a particular combination of Bevy and other crates. Keeping the source, chosen versions, feature settings and media together is therefore important to reproducing a result. Open-source availability is not a promise that an arbitrary dependency upgrade preserves the same API or device behavior.[6] [7]
Substitution considerations nannou can substitute for openFrameworks for custom generative and interactive graphics when Rust is the desired implementation language. Both provide creative-programming facilities, but their language, application architecture and extension ecosystems differ. This is a porting option rather than a way to open C++ projects unchanged. No compilation, hardware operation or performance benchmark was carried out for the assessment.[1] [2] [10]
References nannou repository Rust creative-coding scope and Bevy plugin architecture
vendor · retrieved 2026-10-07 nannou 0.20 API overview App/sketch builders, NannouPlugin and Bevy system context
vendor · retrieved 2026-10-07 nannou sketch function Single-window stateless sketch shorthand and MIT/Apache license metadata
vendor · retrieved 2026-10-07 nannou_draw API Drawing commands converted to meshes and Bevy rendering
vendor · retrieved 2026-10-07 nannou_audio API Device enumeration, streams and audio buffers
vendor · retrieved 2026-10-07 nannou changelog 0.20 Bevy refactor, API removals, Rust edition and paused audio streams
vendor · retrieved 2026-10-07 nannou workspace manifest Version 0.20.0, Rust 2024 edition, MIT OR Apache-2.0 and dependency versions
vendor · retrieved 2026-10-07 nannou platform setup Desktop toolchains and platform-specific development dependencies
vendor · retrieved 2026-10-07 Running nannou examples Cargo compilation and example collections
vendor · retrieved 2026-10-07 openFrameworks overview C++ creative-coding toolkit comparison scope
vendor · retrieved 2026-10-07 Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.