I need to draw an image of the first three triangular numbers inscribed in a square.
Now, I have two problems constructing this image.
- Construct the circles perfectly centered
- The shading
It is acceptable to answer only my first question (in order to correspond to the one question, one post policy) although I would be glad if someone answered both.
Now I have no minimal example, but in order to construct this image any packages would suffice, although my preference is for TikZ.
I am using a variety of packages, although I doubt any of them would interfere in the construction of this image.
- Does anyone have any tips or suggestions for how to construct the first
n
triangular numbers inside a square (with "correct" shading)?
Best Answer
Try something like: