Mathologer’s multiplication on a circle with modulo

from Red Blob Games
23 Nov 2018

Inspired by Mathologer’s video about Times Tables[1]. Here, N is the number of points around the circle and M is the number we’re multiplying by. Watch the video to understand what it’s doing. First change N to see the cardioid shape. Then change M to see other patterns.

Alternatively: click/touch the diagram to change the parameters.

I really like the colored results!

And of course after I implemented this I found other people had done it too!

Email me , or tweet @redblobgames, or comment: