Create separate geometry.js for shared functions.