I have created that demo for Aum's "hot features" section a while ago. I don't have the code anymore, but it was a simple terrain with ph_wave given as a parameter to phent_settype.