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

Add interpolated versions of polyline and polygon smoothing #77

Merged
merged 3 commits into from
May 10, 2021

Conversation

Xrayez
Copy link
Contributor

@Xrayez Xrayez commented May 9, 2021

Unlike approximation added in #76, this produces curves that actually go through original vertices:

image

image

This incorporates Catmull–Rom spline.

@Xrayez Xrayez added this to the gd3 milestone May 9, 2021
@Xrayez Xrayez force-pushed the smooth-poly-interpolated branch 2 times, most recently from 07a0651 to b51091c Compare May 9, 2021 20:31
@Xrayez Xrayez force-pushed the smooth-poly-interpolated branch from b51091c to 9220319 Compare May 9, 2021 22:06
@Xrayez Xrayez merged commit 8daf724 into gd3 May 10, 2021
@Xrayez Xrayez deleted the smooth-poly-interpolated branch May 10, 2021 12:10
@Xrayez
Copy link
Contributor Author

Xrayez commented May 10, 2021

Added example in goostengine/goost-examples@ee86929.

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

Successfully merging this pull request may close these issues.

1 participant