Friday, October 9, 2015

Tech Art Script #2 - Random layout!

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:


1 comment: