Putting together various terrain generation tools into a library for Three.js