Pythagorean tree


More detail about what are we computing here, in the video: https://www.youtube.com/watch?v=94mV7Fmbx88.
A visualization tool for the triples: https://www.geogebra.org/calculator/hd2hcvas
Write a path in base 3 to generate a Pythagorean triple. The max length of the path is 180000.
The computation took zero steps in 1 μs
The fibonacci-like square generated:
1132
The Pythagorean triple generated:
345