Jeremias Volker

Results 108 comments of Jeremias Volker

> Let me know if the process described above works for you! Great, it works for me! Thanks. What is necessary to implement the above step to happen automatically since...

> What values are you using in the SVG? I'm using Affinity Designer to export my SVGs and by default it uses viewBox. I've just learned that by unticking the...

Thanks a lot. This is working much better for me now. Also, it's the first time the preview shows up for me. Great! > I now have an idea of...

Thanks. Yes, adding some sort of API is still my plan, but I never found the time to do it. Essentially, the basics are in here: https://github.com/jvolker/single-line-font-renderer/blob/master/src/lib/svgFontRenderer.js which is adapted...

Thanks! > Also note that the firmware is currently not able to draw real curves, and instead use a subset of straight lines. Good to know. Is that why circles...

Thanks for investigating this. I made some tests with different speeds but realized it made not much difference (see further down this post). # Different numbers of sides I then...

I have implemented this answer from Stack Overflow: [How to render a circle with as few vertices as possible? ](https://stackoverflow.com/a/11774493/1188605) ``` function circleOptimized(_cx, _cy, _radius, _deviation = 0.075) { let...

> Your circleOptimized() implementation seems really cool ! I think I will use it for v3.0.0 as a default for job.circle(cx, cy, radius, sides) when no sides argument are specified,...

> At this point, SVGs are fully converted to object using svgo : svg.js#L16-L32 > Apparently, the plugins selected are not enough to convert to SVG . According to https://github.com/svg/svgo/pull/818...

My example from the beginning of this thread works with `svg-flatten` using the following code: ```js const plotter = require('xy-plotter')() const svgFlatten = require('svg-flatten') const fs = require('fs'); let flattendSvgPath...