pythagorean-spiral
Draw the Spiral of Theodorus (the Pythagorean snail): N right triangles with an exact a·√n labelling system — starting-leg length a, every hypotenuse labelled with its exact value (values, formulas √n, or a custom function), labels rotated parallel to their rays, optional new-leg labels pushed outside, gradients, direction, modes, right-angle marks and more. No dependencies.
@previewMIT