pyrolistical an hour ago It’s 10x slower than vanilla which makes this an ideal use case for transpilation.I bet you could just take one afternoon to write a vite plugin maxloh an hour ago What is the use case of this library given that vanilla JS is 10x faster? elygre 37 minutes ago Maybe it's ease of development, and resulting readability?I did enjoy the example code, compared to the native javascript (both shown in the article): var draw = SVG().addTo('#drawing') , rect = draw.rect(100, 100).fill('#f06') jasonjmcghee 8 minutes ago > Obviously not as fast as vanilla jsI had a similar question- why is it obviously not as fast as vanilla js? aabhay an hour ago Perhaps non-browser usage?
maxloh an hour ago What is the use case of this library given that vanilla JS is 10x faster? elygre 37 minutes ago Maybe it's ease of development, and resulting readability?I did enjoy the example code, compared to the native javascript (both shown in the article): var draw = SVG().addTo('#drawing') , rect = draw.rect(100, 100).fill('#f06') jasonjmcghee 8 minutes ago > Obviously not as fast as vanilla jsI had a similar question- why is it obviously not as fast as vanilla js? aabhay an hour ago Perhaps non-browser usage?
elygre 37 minutes ago Maybe it's ease of development, and resulting readability?I did enjoy the example code, compared to the native javascript (both shown in the article): var draw = SVG().addTo('#drawing') , rect = draw.rect(100, 100).fill('#f06')
jasonjmcghee 8 minutes ago > Obviously not as fast as vanilla jsI had a similar question- why is it obviously not as fast as vanilla js?
emil-lp 3 hours ago Anyone know a Python library for manipulating SVG images? WillAdams 3 hours ago I've been meaning to look into:https://coderivers.org/blog/python-svg/ monkmartinez an hour ago You mean svgwrite (https://github.com/mozman/svgwrite) which looks like it is no longer maintained?I know of svg.py (https://github.com/orsinium-labs/svg.py) and drawsvg (https://github.com/cduck/drawsvg)... I have played with both a bit, no idea how they compare to others.
WillAdams 3 hours ago I've been meaning to look into:https://coderivers.org/blog/python-svg/ monkmartinez an hour ago You mean svgwrite (https://github.com/mozman/svgwrite) which looks like it is no longer maintained?I know of svg.py (https://github.com/orsinium-labs/svg.py) and drawsvg (https://github.com/cduck/drawsvg)... I have played with both a bit, no idea how they compare to others.
monkmartinez an hour ago You mean svgwrite (https://github.com/mozman/svgwrite) which looks like it is no longer maintained?I know of svg.py (https://github.com/orsinium-labs/svg.py) and drawsvg (https://github.com/cduck/drawsvg)... I have played with both a bit, no idea how they compare to others.
It’s 10x slower than vanilla which makes this an ideal use case for transpilation.
I bet you could just take one afternoon to write a vite plugin
What is the use case of this library given that vanilla JS is 10x faster?
Maybe it's ease of development, and resulting readability?
I did enjoy the example code, compared to the native javascript (both shown in the article):
> Obviously not as fast as vanilla js
I had a similar question- why is it obviously not as fast as vanilla js?
Perhaps non-browser usage?
Anyone know a Python library for manipulating SVG images?
I've been meaning to look into:
https://coderivers.org/blog/python-svg/
You mean svgwrite (https://github.com/mozman/svgwrite) which looks like it is no longer maintained?
I know of svg.py (https://github.com/orsinium-labs/svg.py) and drawsvg (https://github.com/cduck/drawsvg)... I have played with both a bit, no idea how they compare to others.