three.js - curvature estimation of a geometry by CoderCat