Chooses 3-5 prime factors, then at each iteration, turns right if `i` is not divisible by any of the factors, left otherwise. A completely symmetric draw of a pattern takes `4 × (the product of the chosen primes)` iterations.
Log in to post a comment.
Canvas.setpenopacity(-0.5);const size = 0.75;