Houdini Resources

Updated on June 26  2024


Wrangle Node Examples

Deborah R. Fowler



Wrangle Node Example - Basic Circle of Circle and Phyllotaxis

Posted on Sept 10  2016
Updated on Jan 19  2019


A circle of points can be created using some very simple code in a point wrangle node.
Missing ImageMISSING IMAGE
The vex snippets are similar to C++ code (take VSFX 375).
This is a simple equation of a circle (see Phyllotaxis discussion on cartesian coordinates)

int pts[];  creates an array
for loop structure is the same syntax as C++ code and repeats the statements inside the curly braces (body of the loop) for 0 to less than "total".
total takes its information from the parameter labeled "Total". The parameter was created by clicking the button circled in blue in the above figure.

Taking this one step further, we can create the phyllotactic pattern. Usually I use cos in the x-axis and sin in the y-axis, but either will work.

Click image for Code Close Up MISSING IMAGE
If you prefer VOPS over VEX, click here for a comparison.