4 ms·
It makes me wonder what the algorithm for arranging the dots looks like.
by tocs3 1y ago
It makes me wonder what the algorithm for arranging the dots looks like.
- GrantMoyer 1y ago1. Set var factors to the prime factors of the integer 2. Sort factors in ascending order 3. Set var diagram to a single dot 4. Foreach factor in factors 4.1. Set var diagram to factor copies of diagram aranged in a circle
- tocs3 1y agoI was thinking about triangles and squares and the answer was circles.
- deleted 1y ago[deleted]