Skip to content

Add interpolated versions of polyline and polygon smoothing - #77

Merged
Xrayez merged 3 commits into
gd3from
smooth-poly-interpolated
May 10, 2021
Merged

Xrayez merged 3 commits into
gd3from
smooth-poly-interpolated

Conversation

@Xrayez

@Xrayez Xrayez commented May 9, 2021 •

Copy link
Copy Markdown
Contributor

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

Xrayez commented May 10, 2021

Copy link
Copy Markdown
Contributor Author

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