I never fully understood the DDA algorithm for drawing lines on pixel / voxel grids. I like to learn by teaching, so I figured it out, and wrote a blog post explaining it. Also, all the code examples in the blogpost are interactive and modifiable.<p>I often see explainers for programming algorithms or concepts and want to boot up a JS scratchpad to mess around with the ideas, so I can get a better feel for the material. In this format, the scratchpad is built-in and ready to go.<p>I figured the HN crowd would appreciate the format & and the content.