geomerative alt for p5.jsm / svg path to point array[x,y]?

I've used geomerative in processsing now trying to transfer to p5.js for in browser, is there an alt for taking an SVG path and converting to points array of [x,y] values to then animate with something like:

} for(int i=0; i<pointPaths.length; i++){ beginShape(); for(int j=0; j<pointPaths[i].length; j++) { ellipse(pointPaths[i][j].x, pointPaths[i][j].y, (soundLevelwidth/16), (soundLevelwidth/16)); } endShape(); } }

Sign In or Register to comment.