Thursday, January 29, 2009
Triangle Set
A simple set of Triangles juxtapositioned next to one another with a reduction in size. The code that generates this figure is shown below:
startshape B
rule A{
TRIANGLE{b 0.2}
TRIANGLE{s 0.95 b 1}
A{s 0.9}
}
rule B{
A{}
A{x 0.5 y 0.3 flip 180}
A{x 1}
A{x 0.5 y 0.88}
}
Now adding a few color elements to the code gets us this.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment