NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Nannou – A creative coding framework for Rust (github.com)
pjmlp 1 hours ago [-]
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 39 minutes ago [-]
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 1 hours ago [-]
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 [-]
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 [-]
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?
paulglx 16 minutes ago [-]
Very nice name and reference!
plastic041 4 hours ago [-]
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 1 hours ago [-]
AFAIK it's being rewritten to use bevy

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

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 11:08:45 GMT+0000 (Coordinated Universal Time) with Vercel.