26 Jun '12, 6pm
Sam Ruby: Penrose Tiling:
I can’t begin to imagine what use anybody could have for this code, but how does MIT sound? The L-system doesn’t do filling, what are your rules for that? There actually is an interesting story behind that. This started out as a Ruby application that generated a static SVG with a single path element with fill='none'. With n=6 (or was it 7? I don’t remember), FireFox simply trapped. Taking a look at the output, I saw that it was a series of moves, each followed by a small number of lines. There was some redundant moves (i.e., moves followed by other moves) that could simply be eliminated. By splitting the path into separate elements, each starting with a move, Firefox could handle the output. The inline SVG you see on this post was generated by a derivative of that program. Once I had separate paths, two things occurred to me: some of the paths were closed and could therefo...