tools to work with voxel generation and meshing in javascript