Three.

Now look at the above figure. It is an equilateral triangle that has its triangular center cut out. That results in three equilateral triangles, which have their centers cut out. Each of those triangles have their center cut out. And so on.

The figure is a Sierpinski Gasket, a fractal drawn using recursion. It is a classic fractal, described the mathematician Sierpinski in 1915, although known previously.

What JavaFX class could you use to draw a single blue triangle such as the one below?