Recursive Pythagorean Tree

This Demonstration recursively generates Pythagoras trees made of selected images. Each square within the tree can be a solid color, an image from Wolfram Language ExampleData or a Spikey. In addition, you can choose the angles of the triangles, the number of levels within the tree and the resolution of each image.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The "angle" slider adjusts the angle closest to the uppermost left corner of the largest square.
There are five image types: TestImage, Texture and AerialImage (from Wolfram Language ExampleData), Spikey and Rainbow.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.