Live data from Hacker News

Nice things with SVG

fuma-nama.vercel.app

51–60 of 112 posts

Re: Nice things with SVG

#52
post #38

Earlier quoted context omitted.

Which book are you referring to?

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.

[deleted]

Re: Nice things with SVG

#54
post #38

Earlier quoted context omitted.

Which book are you referring to?

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.

Appreciate the intro to the book above - two additional useful SVG books. I think O'Reilly has a few more SVG titles

SVG Essentials: https://www.oreilly.com/library/view/svg-essentials-2nd/9781...

SVG Text Layout: https://www.oreilly.com/library/view/svg-text-layout/9781491...

The fact there’s a book on just text layout helped me learn how much depth there is in SVG.

Re: Nice things with SVG

#58

One fun thing that can be done with SVG files: you can use entities in an inline DTD to define constants to be shared across different places in the file. You can see some great examples of this in the SVGs in David Ellsworth's "Squares in Squares" page [0]. The major browsers have no issues with this, though note that some tools like Inkscape won't parse the DTD nor expand the entities. [0] https://kingbird.myphotos…

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.

Re: Nice things with SVG

#59
post #14

SVG 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.
Post reply on HN