An interactive guide to SVG paths
nan.fyi
nan.fyi
But inkscape had a lot of really fast keybindings that helped me on many a huge project...
It would be a lot nicer if the proposal for SVG 2 was ever adopted, but that has been stuck in draft for years. https://svgwg.org/svg2-draft/
Why hasn't it been?
https://dev.w3.org/SVG/modules/vectoreffects/master/SVGVecto...
There are a lot of changes (probably a factor in lack of support) but broadly it is to bring CSS support to SVG, that the browsers have been doing for years.
I worked on a side project to learn SVG and the two biggest features that SVG 2 has is
* support for z-index. SVG elements are currently rendered in the order they are written in markup. This is very annoying if you have common groups of things that interweave with other things visually; but you can’t put them under a single element to select.
* HTML style text rendering. Today in HTML, you can have text respect a container’s width and break to newline when needed, and you can align any corner of a text element to the general CSS box model. SVG text does not have a way to specify a width, and you can only align to the baseline of the first line of multiline text. This is very infuriating.
—-
The major reason for lack of progress is that updating the w3c standards is like herding cats; and SVG needs to include the professional authoring tools that produce it, which is the 800-pound gorilla that is Adobe Creative, and everyone else trying to eat Adobe’s lunch, so it’s hardly a cooperative bunch.
Does exist?
--
Yes!
What I was poorly articulating was the need for you to have that final stacked image with Z positioning, then be able to still have the visibly layered elements turned into their own layer for their own cutting (assume you have a partion of the model which is in background, and you want to chop that shape to its own element, such that you can cut/print on different colors/mediums, but have it still hit the image...
It should take the VISIBLE parts of an element in the final satack, then create layers for each of the components from each layer, then provide a template for printing out mass numers of each component in a zero waste model to allow for more
I would rather have z-index so I can group elements how I want and use z-index to dictate the final display order.
I'm not sure I really understand what you're saying, you can put a group of paths etc. under a group element and then manipulate the display of that group. You can't control their z-indexing it's true but I've achieved relatively complex and pleasing interactions with this method.
I guess I see the point that it would be nice to control it, as I normally want to be able to control everything it would be a bit hypocritical to suddenly say no you don't need to, but I would note one benefit of current SVG's approach is you don't end up with the fighting about z-index you get every now and then in HTML where suddenly things overlap and it is hard to figure out in code where or why, in SVG things overlap because one element is above another and are occupying the same x,y.
Given the amount of detail included in the post, I was surprised that the author didn't mention that the primitives used in the d attribute for the <path> element allow one to synthesise most of the other SVG elements ... or did I just miss that somewhere?
That one might even be better for some people.
The numerical represention of Bezier curves is quite a challenge to internalize and the clean interactive canvas helps build some intuition.
Vector graphics and SVG deserve far more love.
1. https://www.youtube.com/watch?v=aVwxzDHniEw&ab_channel=Freya...
http://shapeoko.github.io/Docs/index.html
one of the things which was worked up was a way to make an SVG interactive:
http://shapeoko.github.io/Docs/content/tPictures/PS20028-100...
(click on part #11 in the list --- in retrospect the parts of the drawing itself should have highlighted the matching part entry in the list)
It has interactive editor, and introduces the available commands/shapes.
Its not really a guide but it has links to relevant parts of svg specification which honestly has pretty decent images and such for understanding the commands.
The hands-on practice built into each page is brilliant. I wish more tutorials were like this!
That is the name of the blog, the domain is nan.fyi.