I was asked to share the program I used in this tutorial to explain translate & rotate: https://funprogramming.org/28-Rotate-and-even-move-your-axes.html
In case any educators find it useful it’s now here:
Note: the idea is to use the program to explain the concepts, but not to learn from the code, since one can write much shorter examples to show the effect of translate, rotate and scale.