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

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • 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”

    [1] https://github.com/nannou-org/nannou/tree/master/nature_of_c...

  • 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

    [0] https://openframeworks.cc/

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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:

    https://glicol.org/

    https://github.com/chaosprint/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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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: https://github.com/quil/quil

  • 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: https://github.com/pietroppeter/p5nim

  • processing

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

  • That would be, for example, "Processing"

    https://processing.org/

  • 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