This is a simple recursion script with pretty nice results. The idea comes from Marc Fornes’ experiments with the same technique. This script creates a recursive equilateral triangle sequence. As an input the script asks for an edge length, incident angle, and the number of iterations.
Recursion by Luis Gil is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.