<story><title>Nannou – A Creative Coding Framework for Rust</title><url>https://nannou.cc/</url></story><parent_chain><item><author>modernerd</author><text>Nannou is great! I tried it and found that:&lt;p&gt;1. The initial setup and build time is perhaps a little long or complex for use in classrooms&amp;#x2F;workshops but it&amp;#x27;s fine for personal&amp;#x2F;professional use.&lt;p&gt;2. Rust&amp;#x27;s build time might not feel like a natural fit for creative coding. Even though initial build times are long (~3 minutes on an 8-core 2019 MBP), rebuilds are fast enough to create a short feedback loop. It&amp;#x27;s not as fluid as dynamic languages like Clojure&amp;#x2F;JavaScript, but it&amp;#x27;s good enough.&lt;p&gt;3. It&amp;#x27;s a nice way to learn Rust.&lt;p&gt;4. MacTuiTui is worth following for their Nannou sketches: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.instagram.com&amp;#x2F;mactuitui&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.instagram.com&amp;#x2F;mactuitui&amp;#x2F;&lt;/a&gt;</text></item></parent_chain><comment><author>vanderZwan</author><text>So I noticed that video input is notably unchecked on the current list of features[0]. Looking back at all the hassle that it has always been in Processing and OpenFrameworks (p5.js is lucky to have a browser do the heavy lifting here) this doesn&amp;#x27;t surprise me, so kudos to Nannou for taking the time to try and figure this out properly.&lt;p&gt;Still, do you have any idea on what the progress is in that department?&lt;p&gt;Does the Rust ecosystem provide specific alternatives for individual set-ups? For example, in my case I only care about video capture for Linux. I see that there is a v4l crate out there, as well as something for ffmpeg[1][2]. Is that easy to combine with Nannou? I have zero experience with Rust but if this is not too much hassle I might give it a shot.&lt;p&gt;[0] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;guide.nannou.cc&amp;#x2F;why_nannou.html#goals&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;guide.nannou.cc&amp;#x2F;why_nannou.html#goals&lt;/a&gt;&lt;p&gt;[1] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;crates.io&amp;#x2F;crates&amp;#x2F;v4l&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;crates.io&amp;#x2F;crates&amp;#x2F;v4l&lt;/a&gt;&lt;p&gt;[2] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;crates.io&amp;#x2F;crates&amp;#x2F;ffmpeg-next&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;crates.io&amp;#x2F;crates&amp;#x2F;ffmpeg-next&lt;/a&gt;</text></comment>
<story><title>Nannou – A Creative Coding Framework for Rust</title><url>https://nannou.cc/</url></story><parent_chain><item><author>modernerd</author><text>Nannou is great! I tried it and found that:&lt;p&gt;1. The initial setup and build time is perhaps a little long or complex for use in classrooms&amp;#x2F;workshops but it&amp;#x27;s fine for personal&amp;#x2F;professional use.&lt;p&gt;2. Rust&amp;#x27;s build time might not feel like a natural fit for creative coding. Even though initial build times are long (~3 minutes on an 8-core 2019 MBP), rebuilds are fast enough to create a short feedback loop. It&amp;#x27;s not as fluid as dynamic languages like Clojure&amp;#x2F;JavaScript, but it&amp;#x27;s good enough.&lt;p&gt;3. It&amp;#x27;s a nice way to learn Rust.&lt;p&gt;4. MacTuiTui is worth following for their Nannou sketches: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.instagram.com&amp;#x2F;mactuitui&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.instagram.com&amp;#x2F;mactuitui&amp;#x2F;&lt;/a&gt;</text></item></parent_chain><comment><author>MacTuitui</author><text>I was wondering why the sudden spike in followers...
I&amp;#x27;m also on &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;twitter.com&amp;#x2F;MacTuitui&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;twitter.com&amp;#x2F;MacTuitui&lt;/a&gt; if you prefer.&lt;p&gt;As for the direct points (note that I am _not_ part of nannou&amp;#x27;s team, just one _heavy_ user):&lt;p&gt;1. That&amp;#x27;s sadly true, it&amp;#x27;s been a long time issue (not only nannou&amp;#x27;s problem to be fair, it&amp;#x27;s shared by all rust projects at the moment): &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nannou-org&amp;#x2F;nannou&amp;#x2F;issues&amp;#x2F;178&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nannou-org&amp;#x2F;nannou&amp;#x2F;issues&amp;#x2F;178&lt;/a&gt;&lt;p&gt;2. If you were following my talk at GitHub universe yesterday where I was livecoding (archive will be up &amp;quot;soon&amp;quot;), the rebuilds are fast enough I don&amp;#x27;t really care (simple stuff are &amp;lt;3s for me, even my latest dailies where I have heaps of extra stuff are averaging &amp;lt;6s rebuild time). The compiler (via lsp) catches most bugs beforehand, so I would say it is not very much an issue at this point. Using a cargo cache will make things far easier as well.&lt;p&gt;3. Exactly why I started using nannou (coming from using processing via scala)!&lt;p&gt;As for the &amp;quot;why nannou?&amp;quot;, and sorry for being nerdy, but nannou is the only framework I know of that does color right: you are working &amp;quot;naturally&amp;quot; in LinSrgb with float16 precision per channel (if that does not speak to you, just look for gamma correction and go down the rabbit hole). The blending of color is exceptional if you&amp;#x27;re into that sort of things (I am: see for example in HQ &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;superrare.co&amp;#x2F;artwork-v2&amp;#x2F;road-to-nowhere-12621&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;superrare.co&amp;#x2F;artwork-v2&amp;#x2F;road-to-nowhere-12621&lt;/a&gt; )&lt;p&gt;Nannou is also focused towards the future: there&amp;#x27;s been a couple of major backend rewrites from opengl to vulkan then webgpu (without any issues for the end-user if you were using the core nannou api functions): you get to play with the latest toys and finally you get access to your whole GPU. No need to stay in a OpenGL-centric state based workflow (that does not make any sense since years)! I&amp;#x27;ve been able to run crazy compute shaders passes while making my own render pipelines _on top of what nannou does_. It&amp;#x27;s crazy powerful.
Also I have to say the team behind nannou has been wonderful in dealing with my requests over the last two years, and they always provided help when I needed (to be honest, I chose nannou &lt;i&gt;because&lt;/i&gt; the team was in Australia, and as I am in Japan, it made communication easy). Huge thanks to them. Have a look at the github issues to see how nice the team is.&lt;p&gt;And with cargo, I&amp;#x27;m confident (not &lt;i&gt;very&lt;/i&gt; confident, mind you, but optimistically confident) that I&amp;#x27;ll be able to get the thing building again in a few years.&lt;p&gt;So if your interest peaked a bit, please try it, if you have any questions, join the matrix chat and ask away!</text></comment>