Perlin map generation for terrain and camera that collides with terrain