3 ms·
> Bezier curves, elliptic curves, fills, outlines and gradients should mostly suffice to represent every unanimated SVG There are also filters, pattern fills,
by omoikane 2y ago
> Bezier curves, elliptic curves, fills, outlines and gradients should mostly suffice to represent every unanimated SVG
There are also filters, pattern fills, dashed strokes, etc. Also, mesh gradients (as supported by Inkscape) are immensely powerful but not yet standardized.
A lot of people are surprised to find <script> in SVGs and maybe that's a bad idea, but everything that someone thought was pure unnecessary bloat are actually features that users depend on. Maybe there is a cleaner and purer universal standard that covers everyone's use cases, but users already have SVG and would rather see incremental improvements here, as opposed to waiting for a new thing that is less capable.
- felixfbecker 2y ago<script> in SVGs is also not a concern nowadays if you use a CSP (even for user-uploaded content).
- felixfbecker 2y agoIt would be amazing if browsers just implemented all the features that were already specified in SVG2. Currently it seems like any new spec work on features that would be amazing for the web (e.g. SVG connectors) has been completely paused because browsers haven't even implemented what has already been spec'ed over a decade ago.
- WillAdams 2y agoI found the <script> capability very useful for making interactive SVGs for CNC assembly diagrams for the Shapeoko 2.