Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A demo showing how to create fractals quickly and easily with Mozilla's XBL technology

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 chrome
Octocat-spinner-32 defaults
Octocat-spinner-32 README.markdown
Octocat-spinner-32 chrome.manifest
Octocat-spinner-32 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!

Something went wrong with that request. Please try again.