How to resolve the algorithm Sierpinski triangle/Graphical step by step in the Phix programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Sierpinski triangle/Graphical step by step in the Phix programming language

Table of Contents

Problem Statement

Produce a graphical representation of a Sierpinski triangle of order N in any orientation.
An example of Sierpinski's triangle (order = 8) looks like this:

Let's start with the solution: