stippled line variable point spacing from raster

 From:  ed (EDDYF)
10809.6 In reply to 10809.5 
Peer -

I haven't studied this, but the point spacing should be straightforward once you have the underlying image pixel data.

Take a look at Max's Heightmap script: _Heightmap.js and _Heightmap.htm

Line 30: try { moi.ui.commandUI.g_imageData = context.getImageData(0, 0, canvas.width, canvas.height).data; }

Additional Resources:

https://www.html5canvastutorials.com/advanced/html5-canvas-get-image-data-tutorial/

https://www.w3schools.com/tags/canvas_getimagedata.asp

https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData

Ed Ferguson