Library for interacting with voxels and level sets in JavaScript