Digital String Art

Connect evenly spaced points on a circle using a mathematical rule. Change the parameters to design a pattern.

Starter challenge: find the TODO in JavaScript and complete the missing rule. Compare with the finished project.

Circular string art pattern

Each point i connects to (i × multiplier) modulo N. Some connections overlap or have zero length. The pattern is a digital drawing, not a continuous thread path; plan physical stitching separately.