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

✨ feat: init the spline module #305

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

aksiome
Copy link
Member

@aksiome aksiome commented Jan 24, 2025

Description

This new module adds the following features:

  • evaluate: evaluate a curve using 4 control points and a time parameter. (bezier, bspline, catmull_rom, and hermite)
  • sample: sample a curve an arbitrary number of control points and a step parameter. (bezier, bspline, catmull_rom, and hermite)
  • stream: stream a curve using a callback (bezier, bspline, catmull_rom, and hermite)

Related Issues

closes #241

Additional Notes

see #282 (we may need to change the storage used for the callback)

Tasks to complete before merging

  • I agree to release my contribution under the MPL v2 License.
  • My pull request is associated with an existing issue.
  • I have updated the changelog to reflect my contribution.
  • If this pull request adds or modifies a feature:
    • I have documented my changes in the /docs folder.
    • I have thoroughly tested my changes. See testing guidelines.

@theogiraudet theogiraudet marked this pull request as draft January 24, 2025 23:29
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

Successfully merging this pull request may close these issues.

Various Bezier functions (both 3 point and 4 point, provided examples are for 4 point specifically)
1 participant