This package is designed to help you create a Pythagoras Tree. It exports a number of helper functions, along with a complete PythagorasTree
component.
getBoxStyle(n)
interpolateColor(x, r, g, b)
<PythagorasTree sway={...} sprout={...} />
Why create a package for this? Why the hell not. But also, it is used within an introduction to React:
Learn React From The Comfort Of Your Web Browser
You can see a usage example and try the component out at React Armory.