Closed tkoop closed 2 years ago
Hello, looks nice.
Just wondering, is the settimeout() call needed? Seems to work fine without it but I only tested very briefly.
Just wondering, is the settimeout() call needed? Seems to work fine without it but I only tested very briefly.
Nope, it's not needed. I just tried it, and it doesn't seem to do anything. While I was there taking it out, I also fixed some random number generating.
Thanks for the contribution!
Yeah I think the only reason to use the await / settimeout stuff here is if you want to adjust things without restarting the algorithm, such as changing the shape and size of the stipples in stipplegen.
I added an algorithm that converts the image into a single loop, but the loop is not very smooth, so I called it Jaggy.