I think it’s drawing some lines twice, but I didn’t think it’s worth adding more lines to prevent it. Suggestions, anyone?
Edit: I updated line 18 to let j = i + 1;
Nice! This is a fun demo btw, makes me want to play around with canvas. I’ve never really come across a need for it besides things like hacky camera implementations.
Am I crazy, or is that code drawing every line twice?
I think it’s drawing some lines twice, but I didn’t think it’s worth adding more lines to prevent it. Suggestions, anyone? Edit: I updated line 18 to let j = i + 1;
Well
j = i + 1, and drop the equality test.done, thanks a bunch!
Nice! This is a fun demo btw, makes me want to play around with canvas. I’ve never really come across a need for it besides things like hacky camera implementations.
Glad to hear you enjoyed it!