render the Pythagoras tree onto a canvas
CoffeeScript Ruby Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
src
.gitignore
Cakefile
MIT.LICENSE
README
test
tree.html

README

Construct a copy of the Pythagoras tree and display it on an html5 canvas. 

Organized to exploit the correspondence between squares in the Pythagoras tree and tree data structures.

Written in CoffeeScript (http://jashkenas.github.com/coffee-script/)

Inspired by Buddhabrot (http://jashkenas.s3.amazonaws.com/misc/buddhabrot/buddhabrot.html)

uses jasmine-node (https://github.com/mhevery/jasmine-node) for unit testing
-run tests with:
node lib/jasmine-node/cli.js . --coffee --verbose

unit tests require npm packages coffee-script and jasmine-node
-get by running in repository root:
npm install coffee-script
npm install jasmine-node

npm is available at https://github.com/isaacs/npm