Skip to content

maxme1/pyflubber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyflubber

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.

Installation

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 .

Usage

from pyflubber import interpolate

middle = interpolate(first, second, 0.5, closed=False)