Houdini Resources

Updated on June 26  2024


Wrangle Node Examples

Deborah R. Fowler



Wrangle Node Example - User Defined Functions

Posted on July 7  2018
Updated on Sept 25  2020 adding qmultiply


Along with many built-in functions, user defined functions can be created in vex. Here is an example using the phyllotactic pattern:

MISSING
        IMAGE

Looking closer at the code, it is similar to the previous phyllotactic pattern example, except now the code is encased in a user-defined function

MISSING
        IMAGE

Going a bit further and adding elements with orientation using the orient attribute

MISSING
        IMAGE

MISSING
        IMAGEMISSING
        IMAGE

You can also combine quaternions with qmultipy. See below:
MISSING
        IMAGE