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

Support for open/unclosed polygons (polylines) #99

Open
Rob-ot opened this issue Jan 24, 2019 · 3 comments
Open

Support for open/unclosed polygons (polylines) #99

Rob-ot opened this issue Jan 24, 2019 · 3 comments

Comments

@Rob-ot
Copy link

Rob-ot commented Jan 24, 2019

Thanks for this amazing library!

Flubber works great for polygons but we're also trying to use it to transition a polyline. This mostly works except two issues:

  • sometimes points are added between the start and end of the path
  • the location of the opening is sometimes "moved"

Is this behavior something that could be suppressed with a polyline/unclosed flag??

2019-01-24_14-38-06

Thanks!

@veltman
Copy link
Owner

veltman commented Jan 29, 2019

Hey Rob, this is definitely on the todo list. That being said, it could be a while before I get to it, so feel free to submit a PR if you want to take a crack at it!

@a-rts
Copy link

a-rts commented Jul 31, 2019

Hi there!
I'd also love to interpolate open paths like that.

Is there any workaround to the randomly altering points like @Rob-ot showed?

Here's how the end of each interpolation works for me (the initial spazzing is probably because of my implementation):
2019-07-31 23 39 52

@jclaessens97
Copy link

Hi, since this issue is open for 5 years now I was wondering if someone here made any progress on interpolation for polylines? If not I would maybe look into it, but then it would be nice to receive some pointers on where to start and where the differences lay with polygons :) (cc @veltman)

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

4 participants