tag:support.nodebox.net,2012-11-01:/discussions/general-discussion/14832-wiggle-offsetNodeBox: Discussion 2017-09-19T00:59:44Ztag:support.nodebox.net,2012-11-01:Comment/434679842017-09-17T23:41:25Z2017-09-17T23:52:44Zwiggle offset <div><p>I am not exactly sure what you are asking. But if you want to adjust a number label randomly up or down you need to:</p>
<ol>
<li>set the first parameter of the wiggle node, scope, to "path" (not "contour")<br></li>
<li>set the first X value of the offset to 0 (not 10)<br></li>
<li>set the second Y value of the offset to the maximum amount of vertical drift</li>
</ol>
<p>You can then vary the seed value to watch the label jump up and down at random.</p>
<p>You can set the second Y part of the offset value by hand. But if you need to set it programmatically (by attaching the output of some other node to the wiggle offset port)<br>
you can do this using a make point node.</p>
<p>Make Point takes two separate inputs, X and Y. Leave X at 0 and hook whatever you want into Y. The result is a point with an X value of 0 and a Y value of whatever. Feed that into the offset port of your wiggle node.</p>
<p>If you have more questions about the wiggle node let me know. A few things to note:</p>
<ul>
<li>
<p>You can use it to jiggle the individual points of a connected shape, the contours (like the inside path of a letter o or e vs. the outside path), or the entire path.</p>
</li>
<li>
<p>If you want to wiggle the letters of a text path separately, you will need to first break it into individual paths.</p>
</li>
<li>
<p>Random seeds can be tricky; if you want different objects to wiggle independently you may need to feed in different seeds.</p>
</li>
</ul>
<p>Please let me know if that was helpful.</p>
<p>John</p></div>johntag:support.nodebox.net,2012-11-01:Comment/434679842017-09-18T14:41:26Z2017-09-18T14:41:26Zwiggle offset <div><p>The offset of the wiggle node is a point value (x,y). If you use a makepoint node you can feed the x and y value separately and attach that makepoint node to the input port of the offset.</p></div>lucasnijstag:support.nodebox.net,2012-11-01:Comment/434679842017-09-19T00:59:42Z2017-09-19T00:59:42Zwiggle offset <div><p>Thank you so much, John and Lucasnijs~! It is so helpful and I got what I wanted to know.</p></div>chung