Three-dimensional Pythagoras tree

In 1942, Albert Bosman was busy drawing 1st Pythagoras tree instead of building submarines for Germany. Yesterday, I was busy programming 1st three-dimensional version of this fractal instead of doing real work. Today I had another go at that, increasing the number of squares and replacing view rotation with anaglyph mode. So, go get your 3D glasses and check out some of renderings it produced:

3D Pythagoras tree

And this is Pythagoras tree, too

Yet another 3D Pythagoras tree

As you can see, addition of third dimension somewhat reduces density of the tree, because squares get small faster; it does, however, greatly increase diversity of results. Note that my code generates only small subset of possible 3D Pythagoras trees – there is certainly much more land to explore.

6 Responses to “Three-dimensional Pythagoras tree”


  1. 1 makc3d March 27, 2009 at 10:36

    p.s. btw, if you click at any corner (in the demo), you will have something resembling good old c-curve.

  2. 2 mclelun March 31, 2009 at 18:15

    the 1st and 3rd are more “3D” to me when I use my red+green 3d glass. The second one seem confusing abit, not sure is it because I am color blind.

  3. 4 atword June 3, 2013 at 07:45

    My spouse and I absolutely love your blog and find most of your post’s to be what precisely I’m looking for.
    can you offer guest writers to write content in your
    case? I wouldn’t mind publishing a post or elaborating on most of the subjects you write about here. Again, awesome blog!


  1. 1 Animated 3D Pythagoras tree « ¿noʎ ǝɹɐ ʍoɥ 'ʎǝɥ Trackback on January 11, 2010 at 13:51

Ask a Question

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Old stuff

March 2009
M T W T F S S
« Feb   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Oh, btw…


%d bloggers like this: