Linear interpolation of open and closed lines for Python.
The code for closed lines is based on the flubber package, hence the name.
A version for Dart can be found here.
pip install pyflubber
or
pip install git+https://github.com/maxme1/pyflubber.git
or
git clone https://github.com/maxme1/pyflubber.git
cd pyflubber
pip install -e .
from pyflubber import interpolate
middle = interpolate(first, second, 0.5, closed=False)