freder / bezier-spline

automatically generates control points for a list of on-curve bezier points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tweak smoothing

cyrilchapon opened this issue · comments

Ok, since my last issue I managed to make it work with both Canvas and svg.

I'd now would like to tweak the smoothing (How much the curve is rounded). I think I'll fork that repo and propose something as a PR

Since I'm not realy a math guy, 2 questions :

  • will this still be a "Bezier spline" if I do this (I mean, is the visual "round factor" of the current output kinda "normalized" on a b-spline ?)
  • where to start ? The algorithm file is a harsh one 😅 I read the article from where the idea was taken, like "huh". I'd appreciate a starting point ☺️

sounds like you might want to read up on bezier curves a bit. people often refer to https://pomax.github.io/bezierinfo/ for that.

when I find some free time I'll look into it as well, but PRs are very welcome :)

essentially it boils down to where you choose to place the off-curve points...