möbius-transformation
implements beautiful geometric transformations that preserve angles and generalized circles
Möbius transformations are named in honor of August Ferdinand Möbius; they are also variously named homographies, homographic transformations, linear fractional transformations, bilinear transformations, or fractional linear transformations.
See Möbius transformation on wikipedia.
Installation | API | Examples | License
Installation
With npm do
npm install mobius-transformation
API
new mobius.Transformation([a, b, c, d])
Examples
Unit circle inversion.
const algebra = const mobius = const Complex = algebraComplex const zero = 0 0const one = 1 0const half = 05 0 const inversion = zero one one zero const two = console // Complex { data: [2, 0] }