Hacker News new | past | comments | ask | show | jobs | submit login

https://github.com/google/iconvg/blob/main/spec/iconvg-spec.... also doesn't explain what relative cubeTo does, though from the context (2D vector graphics), “relative” must mean the co-ordinates are relative to the position of the cursor (as opposed to “absolute” which is relative to some fixed origin), and “cube” probably refers to cubic interpolation.



Cubic Interpolation - someone saved a few too many characters with that name.

So, that function uses opcode "c", which is documented here in SVG

https://www.w3.org/TR/SVG/paths.html#PathDataCubicBezierComm...

Now it makes sense... but that took help from the internet and a lot of time to figure out.

Is it just me, or has actual documentation been abandoned in the last 20 years?

[Edit] I accept it's not a commercial production, but if you want to drive adoption of a proposed new thing, proper documentation would greatly help.


There is plenty of poorly-documented code from 20 years ago. Bear in mind that IconVG is not a commercial product.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: