I actually make a diagramming library for the web, called GoJS: https://gojs.net So I make all kinds of diagrams, mostly as demonstrations. When developing an API itself, especially one where there are phases (objects must measure themselves and draw in a certain order, and not more than they need to), state machine-style and flowchart-style diagrams are awfully helpful. - Source: Hacker News / 16 days ago
Also processing and js libraries like p5.js come to mind. - Source: Reddit / 2 months ago
I created the 3D image of an ice cream and cone using p5.js. - Source: dev.to / 2 months ago
jsPlumb - jsPlumb is an advanced, standards-compliant and easy to use JS library for building connectivity based applications, such as flowcharts, process flow diagrams, sequence diagrams, organisation charts, etc.
Pixi.js - Fast lightweight 2D library that works across all devices