Working in Houdini on tech art assignments, script homework #2: Random distribution!
Querying the user for the grid size and object count, this script will generate that many objects on top of the surface. It also catches any serious intersections and ensures the objects aren't too large, while also evenly distributing the random colors and objects across the grid.
Here's 10,000 objects on a 25 x 25 grid:
Friday, October 9, 2015
Tech Art Script #1 - Circle layout in Houdini!
Working in Houdini on tech art assignments, script homework #1: Lay objects out in a circle!
Querying the user for the object, count and size my script will lay objects out in a circle pattern with a lovely color wheel which is randomly offset each time. Huzzah.
Querying the user for the object, count and size my script will lay objects out in a circle pattern with a lovely color wheel which is randomly offset each time. Huzzah.
Subscribe to:
Posts (Atom)