Re: [svgwg] Add circular arc path command 'R'. (#767)

`Zz` (close path) is already taken and used in a very large majority of paths...

But it's not stupid to plan an extension of the namespace for commands and other ways to pass optional parameters or flags, or the possibility to work with hogher dimensions than 2 (and consequently new representation of paths and curves and geometric operations on them (alignement, splines of higher degrees), without multiplying the number of commands when they have a common generalization.

It's also true that `Aa` is difficult to use for basic elliptical arcs, where it would be much simpler to see them as arcs of circles in a rotated space with 3 dimensions and a projection to a 2D plane.

As well hyperbolic arcs can be seen as a perspective projection of an elliptical arc in a 3D space, i.e. a normal arc circle in 4 dimensions projected on a 2D plane in the 3D space by a the projection parametered with a focal straight line on a single 1D axis. Other basic curves would be sinusoids. Combine them and you find many accurate geometric representation that can respect basic constraints we want in drawings (directions, alignment, tangeancy, orthogonality, and changes of curvatures smoothed at higher derivation degrees). Shape design has to respect these desirable geometric constraints without having to precompute everything into the cartesian 2D space of the final projection and having to recompute shapes with basic transforms (notably rendering 3D scenes with perspective while reusing existing shapes in all sizes, orientations and relative position to the viewer's point)

-- 
GitHub Notification of comment by verdy-p
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/767#issuecomment-1035229004 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 10 February 2022 17:47:50 UTC