Inspired by this video I created my own version of 3D terrain in Processing. In this version the terrain is colored depending on the height: red means high and blue means low. It's also interactive, as you can use these keys:
- Up/down/left/right: move the camera
- w/s speed up or slow down the flying speed
- spacebar: pause the flying
See this video for the demo. Below is a screenshow of a frame: