Remix.run Logo
Nannou – A creative coding framework for Rust(github.com)
38 points by dmit 3 days ago | 8 comments
paulglx 5 minutes ago | parent | next [-]

Very nice name and reference!

pjmlp an hour ago | parent | prev | next [-]

The problem with creative coding and languages like Rust, or C++ for that matter, is that long compilation times break down the interactivity that is expected in such workflows.

neobrain 28 minutes ago | parent | next [-]

That problem is solved by the subsecond crate (an offspring of the Dioxus UI framework), demo here: https://youtu.be/Kl90J5RmPxY?t=1288

It's not integrated in Nannou specifically, but they're showing off Bevy and ratatui in that demo, both very popular frameworks in the Rust world. (In fact, Nannou is in the process of being rebuilt on top of Bevy.)

CJefferson an hour ago | parent | prev [-]

Yes, I wanted to play with things like this, I love Rust, but nowadays I use things built in Python or Lua (like love2d) -- because I need fast interactivity for visual creative coding.

matusnovak 2 hours ago | parent | prev | next [-]

This reminds me of OpenFrameworks [0], which provides very similar framework style functionality like Nannou but for C++.

[0]: https://openframeworks.cc/

roboben 2 hours ago | parent [-]

yep looks heavily inspired by OF. Anyone knows whats up with that project? I was involved years ago, it seems to still be going but I think many people moved on?

plastic041 3 hours ago | parent | prev [-]

It hasn't been actively maintained, but it is still a good crate. Also it has good document unlike other similar crates. I loved this community tutorial: https://github.com/sidwellr/schotter

agluszak an hour ago | parent [-]

AFAIK it's being rewritten to use bevy

https://github.com/nannou-org/nannou/tree/bevy-refactor