it turns out svg.js is much faster