related project: Procedural SVG feature generator - could use some help
Posted: Fri May 21, 2021 10:40 pm
Hey folks,
This maybe off-topic, and if it is in the wrong place, I apologize - I figured perhaps a fellow devleoper might be lurking around and shine some line - I'll gladly re-post elsewhere if need be.
I'm currently working on a quick-n-dirty web-app that is intended to procedurally generate terrain feature icons in SVG format in hopes of creating feature assets. (just for the sake of bonafides and credential-establishment: I've recently made and a similar tool for generating arcane sigil magic circle thingies ).
I've been doing a lot of reading on Here Dragons Abound and I feel confident that I can implement something similar that would be of use to cartographers. However: one of the problems with SVG that I find myself continually banging my head against is the lack of variable width profiles for strokes. I've been trying to implement by own, but I'm finding bezier math is non-trivial (and don't get me started on the frustration that is SVG2.0 an it's current status...). Does anyone around have any kind of experience with implementing a "stroke expander" (creating a closed path from a stroke) with variable width?
This maybe off-topic, and if it is in the wrong place, I apologize - I figured perhaps a fellow devleoper might be lurking around and shine some line - I'll gladly re-post elsewhere if need be.
I'm currently working on a quick-n-dirty web-app that is intended to procedurally generate terrain feature icons in SVG format in hopes of creating feature assets. (just for the sake of bonafides and credential-establishment: I've recently made and a similar tool for generating arcane sigil magic circle thingies ).
I've been doing a lot of reading on Here Dragons Abound and I feel confident that I can implement something similar that would be of use to cartographers. However: one of the problems with SVG that I find myself continually banging my head against is the lack of variable width profiles for strokes. I've been trying to implement by own, but I'm finding bezier math is non-trivial (and don't get me started on the frustration that is SVG2.0 an it's current status...). Does anyone around have any kind of experience with implementing a "stroke expander" (creating a closed path from a stroke) with variable width?