Realtime generation of terrain using software agents.