Home | Resume | All Posts | Last updated: 07 November 2003 01:40:54 AM CST

FOAF
Search this site:
banksean
"My modesty is unparalleled."
-Kris
November 2003
SM TW TF S
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
October  





Weblog Commenting by HaloScan.com
Friday, November 7, 2003
Sierpinski SVG

I made a SVG animation of the IFS construction of the Sierpinksi Gasket. Get the SVG viewer from Adobe if you don't have it already. Each of the three transforms in the IFS is represented by a different color (RGB).

Initially I wanted to create this as a Stupid XML Trick. My idea was to start out with a simple SVG that only declared one circle in the center (base case). There would also be an XSL that wrapped three copies of original SVG contents with scaling, translation and color transforms. Then using javascript I'd have it repeatedly transform the output of the previous XSLT and display that in the SVG viewer at each iteration. But then I got lazy or distracted. I forget which, but no XSLT tonight.