rougier / gl-bezier

Experiments on quadratic and cubic Bézier curves
12 stars 4 forks source link

How is this code licensed? #1

Open lehni opened 7 years ago

lehni commented 7 years ago

First of all, thanks for the great work here! I'd like to use some of it as a base for some work on https://github.com/paperjs/paper.js (mainly for https://github.com/paperjs/paper.js/issues/1235 right now), but wanted to clear the license question first. Paper.js is distributed under the MIT license. Would there be a conflict if some of the code was ported over?

rougier commented 7 years ago

Good question. It depends on the precise code you're interested. It was only meant as experiments and we did not think about licensing question. I've no problem you to use it under a MIT license, I won't speak for @behdad.

What part are you interested in exactly ? I think we gather a bunch of pointers to related paper at the time, maybe we can try to dig them out.

lehni commented 7 years ago

Thanks for getting back so quickly. I was looking at https://github.com/rougier/gl-bezier/blob/master/bezier_type.py, but we may be using the Loop Blinn classification approach after all, see: https://github.com/paperjs/paper.js/issues/1235#issuecomment-271598640

rougier commented 7 years ago

Ok, I wrote this one but it's a straightforward implementation of the cited paper. Feel free to use it.

behdad commented 7 years ago

My snippets are fine in MIT as well.

lehni commented 7 years ago

Great, thanks!