Live data from Hacker News

Nice things with SVG

fuma-nama.vercel.app

41–50 of 112 posts

Re: Nice things with SVG

#42
post #38
post #33

Earlier quoted context omitted.

Big fan of her book as well though I don’t know if the recommended tools are still relevant.

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.

Re: Nice things with SVG

#44

Is there any SVG extension which allows density of line? I have a plotter which can lift/lower a pen; it's driven from SVG files. It'd be sweet to allow the pen to lower while the line is being drawn (as we often do with handwriting). Oh - it's an Axidraw, from Evil Mad Scientist Labs - great device, wonderful people.

It's pretty easy to store custom instructions in plain SVG files and interpret them in with your reader. For example I have a multi-purpose laser-cutter / plotter and I use opacity for laser power, stroke weight for movement speed, green channel for number of passes, blue channel for z-axis height and red channel for lowering the pen or turning of the laser etc.

Re: Nice things with SVG

#45

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…

That page took a good five seconds to render on my 2022 iPhone se

Re: Nice things with SVG

#48
Awesome post, site design is dope as well

For as long as SVG's been around its potential feels untapped. I can't think of any other element that can encapsulate functional HTML, CSS and JS -- basically an entirely different HTML document -- as easily

Post reply on HN