Gauss filter for KineticJS adaptation