{"library":"splines","title":"Splines in Euclidean Space and Beyond","type":"library","description":"A Python library for creating and evaluating splines in Euclidean space and beyond, including B-splines and Bézier curves. Current version is 0.3.3, released in 2021. The library is under active development with irregular release cadence.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install splines"],"cli":null},"imports":["from splines import UnitBSpline","from splines import Bezier","from splines import CatmullRom"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":"https://splines.readthedocs.io/","github":"https://github.com/AudioSceneDescriptionFormat/splines","docs":"https://splines.readthedocs.io/","changelog":null,"pypi":"https://pypi.org/project/splines/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from splines import UnitBSpline\nimport numpy as np\n\nknots = [0, 0, 0, 1, 2, 3, 4, 4, 4]\ncontrols = [0, 1, 0, 1, 0]\nspline = UnitBSpline(knots, controls)\nprint(spline.evaluate(0.5))","lang":"python","description":"Create a uniform B-spline and evaluate at a parameter value.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}