I know it looks like a bunch of totally random lines, but believe me, there is a system in all of that!

The Pythagoras Tree Reworked

I took the script which draws the Pythagoras tree and experimented a bit. A was changing all the numbers, intervals, equations etc. and came up with something less interesting than the Pythagoras tree, but mine.

This image (animation) is — believe it or not — a result of this piece of code:

var an = 45 + (i * (i / 8) * (i / 16)) * 25 * i;

Live version of this “Christmas tree” can be found live on: http://studio.romanbartos.cz/Test%203/