How to draw Hanoi tower in Typst?

In the Body section of How to post in the Questions category it suggests that you

Give a brief description, describe what you have tried and where you got stuck.

Please post any attempts you have made so far to do this.

If you don’t have code to share, do you have a preferred way of doing this? This could be done in pure Typst using boxes, or it could use Typst’s built in drawing functions. Or it could be achieved with a package such as CeTZ.

1 Like