Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak smoothing #2

Open
cyrilchapon opened this issue Nov 24, 2018 · 2 comments
Open

Tweak smoothing #2

cyrilchapon opened this issue Nov 24, 2018 · 2 comments

Comments

@cyrilchapon
Copy link

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 ☺️
@freder
Copy link
Owner

freder commented Nov 26, 2018

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 :)

@freder
Copy link
Owner

freder commented Nov 26, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants