Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxme1/pyflubber
Linear interpolation of open and closed lines
https://github.com/maxme1/pyflubber
Last synced: about 2 months ago
JSON representation
Linear interpolation of open and closed lines
- Host: GitHub
- URL: https://github.com/maxme1/pyflubber
- Owner: maxme1
- License: mit
- Created: 2019-11-29T22:55:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-06T09:09:46.000Z (over 3 years ago)
- Last Synced: 2024-11-23T11:16:57.397Z (2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## pyflubber
Linear interpolation of open and closed lines for Python.
The code for closed lines is based on the
[flubber](https://github.com/veltman/flubber) package, hence the name.A version for Dart can be found [here](https://github.com/maxme1/dart_flubber).
## Installation
```bash
pip install pyflubber
```or
```bash
pip install git+https://github.com/maxme1/pyflubber.git
```or
```bash
git clone https://github.com/maxme1/pyflubber.git
cd pyflubber
pip install -e .
```## Usage
```python
from pyflubber import interpolatemiddle = interpolate(first, second, 0.5, closed=False)
```