tag:support.nodebox.net,2012-11-01:/discussions/show-your-work/430-curve-nodeNodeBox: Discussion 2021-05-11T11:36:41Ztag:support.nodebox.net,2012-11-01:Comment/491893152021-05-11T11:35:06Z2021-05-11T11:36:41ZCurve Node<div><p>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).</p>
<p>This means that whenever you use it, you need to:</p>
<ul>
<li>exit NodeBox</li>
<li>make a folder</li>
<li>put your NodeBox sketch into that folder</li>
<li>drag in a copy of make_curve.py from the Cartan Node Library folder</li>
<li>relaunch your Nodebox file</li>
<li>go to File/Code Libraries</li>
<li>choose Python, locate, and add make_curve.py</li>
<li>THEN copy/paste the make_curve node from the Cartan Node Library</li>
</ul>
<p>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.</p>
<p>SO, I am pleased announce a replacement for make_curve: <strong>curve</strong></p>
<p>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.</p>
<p>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:</p>
<ul>
<li>explode</li>
<li>intersect</li>
<li>mask</li>
<li>rev_dir</li>
<li>spiral</li>
<li>sub_path</li>
<li>trace</li>
<li>waveform</li>
</ul>
<p>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.</p>
<p>Enjoy!</p>
<p>John</p></div>john