Curve Node

john's Avatar

john

11 May, 2021 11:35 AM

My make_curve node is probably the single most useful node I've made. But it has one catch: it requires custom Python code (make_curve.py).

This means that whenever you use it, you need to:

  • exit NodeBox
  • make a folder
  • put your NodeBox sketch into that folder
  • drag in a copy of make_curve.py from the Cartan Node Library folder
  • relaunch your Nodebox file
  • go to File/Code Libraries
  • choose Python, locate, and add make_curve.py
  • THEN copy/paste the make_curve node from the Cartan Node Library

More of a speed bump than a show stopper, but still annoying - especially if you do this for every project. It get's worse: make_curve.py is required for EIGHT other nodes as well. So this annoyance happens often if you are using my library.

SO, I am pleased announce a replacement for make_curve: curve

The curve node works exactly like make_curve except that it doesn't require make_curve.py. You can just copy/paste and go. It is slightly slower than make_curve, but the difference is negligible unless you are drawing more than a hundred thousand curves.

I have updated all the nodes in my library which use make_curve, so now NONE of them require adding Python code. In addition to curve (which replaces make_curve), these include:

  • explode
  • intersect
  • mask
  • rev_dir
  • spiral
  • sub_path
  • trace
  • waveform

The attached NodeBox file contains demos of all the above. The modified versions will also be included in the next release of my Node Library.

Enjoy!

John

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • curve_nodes_screenshot.png 549 KB
  • curve_demo.zip 208 KB

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

23 Jun, 2021 01:36 AM
20 Jun, 2021 07:19 AM
13 Jun, 2021 11:19 PM
06 Jun, 2021 09:27 AM
05 Jun, 2021 10:17 AM

 

05 Jun, 2021 07:45 AM
23 May, 2021 10:05 PM
23 May, 2021 10:02 PM
17 May, 2021 12:04 AM
16 May, 2021 01:00 PM
14 May, 2021 03:16 PM