Cardioid

3Cat's Avatar

3Cat

20 Feb, 2022 10:05 AM

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.

  1. 1 Posted by 3Cat on 20 Feb, 2022 10:12 AM

    3Cat's Avatar

    Zipped File

  2. Support Staff 2 Posted by john on 22 Feb, 2022 10:12 AM

    john's Avatar

    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. 3 Posted by 3Cat on 24 Feb, 2022 05:13 PM

    3Cat's Avatar

    The Cardioid Zipped NDBX file

  4. 4 Posted by 3Cat on 24 Feb, 2022 05:17 PM

    3Cat's Avatar

    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!

  5. Support Staff 5 Posted by john on 25 Feb, 2022 12:59 AM

    john's Avatar

    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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

31 Jan, 2023 11:29 PM
28 Jan, 2023 10:39 AM
26 Jan, 2023 01:30 AM
26 Jan, 2023 01:24 AM
26 Jan, 2023 12:48 AM

 

20 Jan, 2023 02:32 PM
13 Jan, 2023 09:54 PM
11 Jan, 2023 10:32 AM
09 Jan, 2023 11:45 AM
28 Dec, 2022 11:19 PM
27 Dec, 2022 06:57 AM