This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
kld-affine with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A collection of classes used for affine geometry. This currently consists of the following classes:
These have been extracted from kld-intersections so they can stand alone.
npm install kld-affine
A class used to represent two-dimensional points on a plane. This currently supports the following methods:
A class used to represent a two-dimensional vector. This currently supports the following methods:
A class used to represent affine transformations. This current supports the following methods: