I just converted this Tweet Processing sketch from P5 to D3 using SVG instead of canvas. Not sure if I’m doing the circle select right, but it seems to no crash, so I’m ok with that but if there is a better pattern to do that then I’m happy to learn.
I tried another p4 sketch, but use to p5s unique curved vertex and the canvas drawingContext I was not able to do an easy port. Going to try and write something new that looks like the p5 sketch and will be an interesting look at svg filters.
Will show an tell when that’s working