A fun-to-watch (although imperfect) 'remix' of Brian Harvey's Pythagoras tree (fractal) project

Although it is not a mathematically complete/'perfect' or 'true' Pythagoras tree, it still allows kids to see how the "outer branches" of the tree keep replicating themselves on ever smaller scales.

It slowly gets offset. This should work, but the floats ate not accurate enough.

Thanks for commenting on it. Any idea how to make them more accurate?

Try enabling bignums. If the numbers are fractions, then they will be exact, but even though they are not, they will be much more accurate.