Nannou – An open-source creative-coding framework for Rust

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • CodiumAI - TestGPT | Generating meaningful tests for busy devs
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • nannou

    A Creative Coding Framework for Rust.

    I would suggest checking their github repo[1] and seeing the examples from the book “nature of code” they are astonishing with a shitload of them ! Same with “generative design”


  • OpenFrameworks

    openFrameworks is a community-developed cross platform toolkit for creative coding in C++.

    OpenFrameworks[0] is quite popular for creative coding even though it's written in C++ - framework is actually pleasant to use. If you want to do some creative coding on both iOS and Android you don't have many options. If you want to use sensors (cameras, microphones, gyroscope, accelerometer, etc) and e.g. process video stream at 120fps you have even less choices.

    Sadly OpenFrameworks development seems kind of stalled. Nannou + Rust could be a good or even better alternative:

    1) painless cross-compilation to different platforms

    2) plugins installation via cargo

    3) more up-to-date plugins as tiny wrappers around CPAL [1] (audio I/O), nokhwa [2] (video i/o), opencv-rust[3] (video I/O and processing), rust-sdl2 [4](IMU sensors + game controllers), egui [5] (immediate mode gui + plotting)

    4) better errors and more modern language



    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • glicol

    Graph-oriented live coding language and music/audio DSP library written in Rust

    For those who are interested in creative coding and Rust, especially the sound/audio/music related work, you can have a look on Glicol:

    A music live coding language and a DSP library written in Rust.

  • cpal

    Cross-platform audio I/O library in pure Rust

  • nokhwa

    Cross Platform Rust Library for Powerful Webcam/Camera Capture

  • opencv-rust

    Rust bindings for OpenCV 3 & 4

  • rust-sdl2

    SDL2 bindings for Rust

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

  • egui

    egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

  • quil

    Main repo. Quil source code.

    The quick run speed is great for shortening the feedback loop. I've had great experiences with Lisp-style environments for that reason, and the language is much higher level than Rust while still offering good performance. I've mainly used Quil, the Clojure wrapper around processing:

  • p5nim

    🌸👑 p5nim: processing for nim through p5js

    Surprised to see this kind of project in Rust but it looks interesting.

    Cannot resist plugging a Nim wrapper for p5js (although it’s a bit early stage), in case other are interested in doing p5/processing stuff in a niche but fun (and easy to pick up) language:

  • processing

    Source code for the Processing Core and Development Environment (PDE)

    That would be, for example, "Processing"

  • evcxr

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts