A math extension for the svg.js library