Cardioid
A simple circle that draws lines into a shape of a cardioid.
I hope for this to provide a better understanding for the cardioid. something that shows up in mathematics everywhere.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by 3Cat on 20 Feb, 2022 10:12 AM
Zipped File
Support Staff 2 Posted by john on 22 Feb, 2022 10:12 AM
3Cat,
This is lovely and I agree: cardioids are cool.
Would you consider sharing a zipped NDBX file so we can all see your code?
Thanks,
John
3 Posted by 3Cat on 24 Feb, 2022 05:13 PM
The Cardioid Zipped NDBX file
4 Posted by 3Cat on 24 Feb, 2022 05:17 PM
I have also made a polar version of the cardioid that draws one with the frames by pressing play.
Thank you John for your support!
Support Staff 5 Posted by john on 25 Feb, 2022 12:59 AM
3Cat,
Thank you very much for both of these excellent demos!
I especially enjoyed increasing the multiplier in your first demo to add more "petals" and increasing the lines to create cool Moire patterns.
And I learned something new from both examples...
Even after all my years fiddling with NodeBox, it never occurred to me that you could publish ports to the main root as you do in your first demo. I don't know why I didn't notice this before. It makes perfect sense and provides a very nice way to parameterize an entire network. Very useful. It's a trick I will start using in similar situations from now on.
I had also never thought of using the buffer_points node the way you did in your second demo. I always thought of this as a tool for managing data coming in from audio and other devices - something I rarely do. But it works quite well in this situation. Much easier than writing a buffer subnetwork from scratch.
NOTE: for this to work properly I believe you need to enable Device Support under the Nodebox Preferences menu - and Save and restart NodeBox if it wasn't already set. Once Device Support is set you never have to worry about it again. Experienced Nodebox users probably set this years ago and forgot all about it, but new users might not know about this quirk.
Thanks again! And please keep these demos coming!
John