Saturday, February 27, 2010

Randomly Evaluate N-gon

This processing application, originally developed for a geometrically packed particle system at Evan Douglis Studio, provides the user the ability to generate a point along a parametrically defined polygon by altering the source code. The class n-gon contained in the source code, provides the user 5 inputs
1&2) an origin "x" coordinate and "y" coordinate
3) the circumscribed radius of the polygon
4) the number of faces constructing the polygon
5) the unitized value (btw 0-1) of the polygon

The result is point evaluated along a mathematical polygon.

The application at the following link showcases the capabilities of the n-Gon's parameters.

A Rhinoscript version will be coming very soon.

No comments: