News for hackers. Stuff that matters.
Re:From SVG to Canvas – A new way of building interactions by paulddraper on Tuesday June 06, 2023 @11:21PM (#36222461)
You start with SVG

Then you go to Canvas

Then you go to WebGL

Source: Early engineer at Lucidchart

Re:From SVG to Canvas – A new way of building interactions by thomasfromcdnjs on Wednesday June 07, 2023 @01:55AM (#36223361)
aha love this
Re:From SVG to Canvas – A new way of building interactions by mkl on Wednesday June 07, 2023 @06:56AM (#36225286)
Then you go to WebGPU, I expect.
Re:From SVG to Canvas – A new way of building interactions by paulddraper on Wednesday June 07, 2023 @11:37AM (#36228238)
Not for graphics
Re:From SVG to Canvas – A new way of building interactions by ygra on Wednesday June 07, 2023 @07:38AM (#36225561)
Similar journey here (yWorks, with a diagramming library, too). In our case the journey comes with drawbacks, though. Yes, WebGL allows for larger graphs, but it also does not support the flexibility the other options offer.
Re:From SVG to Canvas – A new way of building interactions by thekenwheeler on Wednesday June 07, 2023 @09:07AM (#36226303)
it depends. canvas is typically much more cpu friendly. and does a way better job with text. (2d)
Re:From SVG to Canvas – A new way of building interactions by hicksyfern on Wednesday June 07, 2023 @02:31PM (#36231273)
Author here. For sure. That’s actually what we’re likely to do as the basemap rendering is done in webgl