2012-10-04

Repeated Simple Geometries







The first script that I have been working on involves creating a series of cones that populate an existing point grid.  These cones are then moved in the X axis and rotated a random amount around the Z axis.







Afterwards this cones can then be intersected with a plane or surface depending on the size of the cones and the spacing of the point grid.









The second script that I wrote was dealing with recursively creating a simplified geometry in relation with itself.  In this case I used a triangle, which in future revisions can be substituted for a cone or any other simple geometry.








Above is a basic diagram showing how the triangles are related to each other. A line is directly mirrored to itself, then one of the lines is selected at random and extended by another random amount.  The original line used is then copied to the extended line.  That process continues to repeat with different variables added into the mix, the shapes can be stepped up in the z axis or rotated after a certain number of iterations.  Depending on how the maximum amount of shapes created and the amount that then can extend away from their parent, an extremely dense mesh of triangles can be created, or a larger dispersed cloud can form.





Both scripts can be downloaded here:
point_grid_cones.py
recursive_triangles.py

Keine Kommentare:

Kommentar veröffentlichen