Some early code on making a drawing tool. The line is made of points that are roughly equidistant, no bunching. This is so the line information can be analysed, maybe fed to a neural net so the project can react to different types of lines.
Source code: _06 line paint point
Built with Processing