Some questions carry a model: the path of a small Python function that receives the question's variables and returns an SVG. The figure therefore matches the numbers in every randomised attempt.
Three built-in generators are used below:
polygon draws a shape with a random number of sides.array2d draws a grid of dots for multiplication.line_ruler_measurement draws a line against a ruler for measuring.Try each question several times.