Houdini Vex snippets

This is a collection of small Houdini snippets I gathered over time while learning the software. Not really complicated stuff but handy sometimes.
This notepad is connected to my notion notebook and updates constantly. I appended a small description on every codeblock in which context you have to use it.

It’s quite difficult to link a notion notebook to a website. I hope I find a better solution in the future so it is a bit easier to read.

Disclaimer: Not everything is 100% clear because some wrangles need attributes and other nodes which they depend on. But generally it should point you in a good direction.