RSSAmplifier

Blog

Posts on Minus Zero

Recent content in Posts on Minus Zero

minus-ze.roRSS feed ↗3 posts

Latest posts

Unintuitive Optimization For Performing Paths Union

The Task At Hand I once had the task of processing whatever vector graphics the user would input into the software, and compute the contour of all shapes from that. That contour would then be sent to a printer. Most of the time users would upload vector art they made in something like Illustrator, and that art could get very complex. In this blog post I’ll take one real SVG I had to work…

Morphing Arbitrary Paths in SVG

> Intro All the animations that you can see above have been created at page load automatically. I copied some paths from SVG Repo , plugged them into a function that converts the paths so that they can be morphed, and then I set the SMIL animations properly. If you want to quickly test your own paths and see the generated SVG yourself, go near the end of this page for an interactive demo. Paths in…

Flattening Bézier Curves and Arcs

Intro When processing curves it’s much easier to convert them to a simpler form and work with that, instead of manipulating the curves directly. In this blog post I will present three easy ways to convert quadratics, cubics, and elliptical arcs to a sequence of line segments. These line segments make it almost trivial to solve problems like computing the arc length or dash offset . They can…