A demo showing how to create fractals quickly and easily with Mozilla's XBL technology
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
chrome
defaults/preferences
README.markdown
chrome.manifest
install.rdf

README.markdown

This is just a little Firefox addon to show how Mozilla's XBL technology can be used to create fractals with minimal effort. Essentially, a level N Sierpinski triangle is made up of three level N-1 triangles, except for the level 0 triangle, which is simply a triangle. XBL makes it easy to represent this recursion and draw the triangle. For example, to create a level 4 Sierpinski triangle, just put the following element into your UI:

<sierpinskiTriangle level="4" />

To use the addon, just select "Sierpinski Triangle" from the Tools menu, then use the textbox at the top of the page to adjust the level. Enjoy!