Earlier quoted context omitted.
Maybe I am missing something, but can't find any !doctype or !element that would represent a DTD on that page. If you are talking simply about SVG defs and use - that isn't a DTD.
They're all in the standalone files, e.g., look at the source of https://kingbird.myphotos.cc/packing/square-11.svg . It defines a bunch of entities to represent various lengths and angles, which obviously can't be d. (CSS variables would be an alternative these days, but many non-browser tools such as librsvg will have trouble with those as well.)
Nice things with SVG
101–110 of 112 posts
Re: Nice things with SVG
#102Re: Nice things with SVG
#103> Unkey's landing page is a nice example. That landing page is a nauseatingly laggy experience on a very powerful M1 Pro laptop. And slow to load, all for some fancy lines? I'd take a product that focuses on substance over style as dev. Don't get me wrong, style is important and I like pretty things, but here it seems the tradeoff is not well done.
Re: Nice things with SVG
#104Earlier quoted context omitted.
Probably “SVG Animations” available through O’Reilly. It is from 2017. While many of the frameworks used have come and gone; there are a few stable concepts. If you can get it on sale, I’d recommend. Full price is a hard sell.
From the table of contents this looks like a book sponsored by and written to promote GreenSock. Which would be fine if the title was not misleading. Apparently SMIL is mentioned only in one chapter as "not suggested" solution.
Re: Nice things with SVG
#105I really miss Macromedia Flash. There wasn't a single tech like Flash and SWF format which flourished with so many indie games and animated movies available without any extra downloads (other than Flash Player). Barier to entry was so low. Now, take SVG, it has potential to do everything what SWF could. But there is no editor like Flash and scene/object based coding solution like ActionScript. And each browser has ow…
Well it still exists as Adobe Animate which can export to html. Comparing SVG to Flash seems like an apples to oranges comparison anyway. The format does not have to do everything that Flash did but can rely on the other technologies in the browser.
Re: Nice things with SVG
#106Earlier quoted context omitted.
Browsers will render SVG files. SVG files can link to other SVG files. Just need to configure the server to serve SVG by default — most servers don't but it's an easy config change.
Actually just found one, via an old stack overflow post. Only a three page test, but proves the point: https://svg.nicubunu.ro
Re: Nice things with SVG
#107Re: Nice things with SVG
#108SVG feels like a very underexplored and underused territory. You can do so many things with it. It really depends on your imagination. But you’ll possibly need to “hardcore” a lot of stuff, so yeah, depends on the use case as well.
One thing i'd like to see is an entire site built with SVG and JS without any HTML at all. It's possible but i haven't seen anyone do it yet.
Re: Nice things with SVG
#109Was always fascinated by SVG art. How good are LLMs in generating SVGs?
Regular LLMs are quite bad at it (see simonwillison's blog post). However this paper [0] describes an apparently sound approach using Neural Radiance Fields (NeRFs), however their github repo [1] has been "code coming soon!" for months now, so you can't really use it. 0 - https://arxiv.org/pdf/2501.03992 1 - https://github.com/SagiPolaczek/NeuralSVG
Oh boy oh boy oh boy
Re: Nice things with SVG
#110One nice thing about SVGs is that they can be connected to the dom, you can do css, and easier to debug than canvas. Performance is the only thing holding it back from making declarative code for plotting and mapping charts.
What performance issues have you encountered? Perf was decent 10 years ago so long as you avoided filters, but even that has improved.