Worley noise in JavaScript.