Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Better smoothing of crayon points. #15

Open
Fishrock123 opened this issue Jan 25, 2014 · 5 comments
Open

Better smoothing of crayon points. #15

Fishrock123 opened this issue Jan 25, 2014 · 5 comments

Comments

@Fishrock123
Copy link
Contributor

This will take a while, but should be something to work towards.

mondrian is going to need a smoothing algorithm for crayon points.

@jarek-foksa
Copy link

@Fishrock123
Copy link
Contributor Author

👍 to @jarek-foksa's suggestion.

@artursapek
Copy link
Owner

I'll take an hour one day to learn about Schneider's algorithm. Haven't heard of it before. That paperjs demo is amazing.

The crayon tool uses a simple algorithm I came up with. It only produces smooth lines when one draws quickly. I'd love to port a better algo to it.

@wraybowling
Copy link

I like the smoothed results of Schneider's, but it does not do corners well. —
Sent from Mailbox for iPhone

On Sat, Jan 25, 2014 at 8:58 PM, Artur Sapek [email protected]
wrote:

I'll take an hour one day to learn about Schneider's algorithm. Haven't heard of it before. That paperjs demo is amazing.

The crayon tool uses a simple algorithm I came up with. It only produces smooth lines when one draws quickly. I'd love to port a better algo to it.

Reply to this email directly or view it on GitHub:
#15 (comment)

@Fishrock123
Copy link
Contributor Author

@wraybowling Oh wow, you're right. (Try drawing boxes in the demo.)

I would be more inclined to go with something a tad slower and more precise, generally.

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

No branches or pull requests

4 participants