Full process video:
Original Nature of Code Lesson #1.5 by great Daniel Shiffman (P5js):
Blender Sverchok addon:
Blender Mouse interactive Python script:
There are many articles, patches, source code and some advanced Patron-only content there.
Or you can get a source code/patch directly in gumroad.