Control an animation with array data using VEX in Houdini.
Hey folks, today I show you an interesting approach to use VEX to prepare a very specific animation.
This is a simple example of that approach but can be used in many situations.In this video I cover several topics.

How to sort points in VEX, handling array data and a bit of vector math.

I started this with the idea of visualizing standard programming algorithm like the bubble sort I use in this video - and ended up with this.

It would be interesting to see if people come up with an idea to utilize this in a more complex scenario. So if you do - let me know! :)


CREATED BY

DAVID KAHL

David is a Software Developer and VFX Artist based in Germany. Houdini has allowed him to combine his experience in 3D and scripting, taking both to new heights. He has a passion for sharing his knowledge and tries to do his very best to make a difference in the community.

More from David Kahl

COMMENTS

  • Npui 5 years, 10 months ago  | 

    For your bubble sort, why don't you use argsort and reorder vex fonction ?

    • David_Kahl 5 years, 10 months ago  | 

      Simply because it is not as fun.
      But sure it's a bit like reinventing the wheel. I should have mentioned alternatives.

  • plabill23 4 years, 4 months ago  | 

    I want to do an array. no animation. just straight. 6 radio buttons. I can't find anything online or in houdini data. no youtube... ?? help

Please log in to leave a comment.