/* * As described in "Shape: Talking about Seeing and Doing" * by George Stiny, 2006 * * pages 334-340 * * With a non-uniform picking of edge split location (biased towards the center). * Avoid long regions by placing a maximum ratio on the edge lengths in a region. * Picking which region to split proportional to area. * * Press spacebar to restart, any other key to pause/unpause. * * While running, the applet picks a random node and attempts to split it. * (larger shards are more likely to be picked) * * Triangles -> Triangle + Quad * Quad -> Quad + Quad * Quad -> Triangle + Pentagon * Pentagon -> Quad + Pentagon * */
Source code: ice_ray_lattice_ratio
Built with Processing