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! :)


COMMENTS

  • Npui 4 months, 2 weeks ago  | 

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

    • David_Kahl 4 months, 2 weeks ago  | 

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

Please log in to leave a comment.