Use your fingers or mouse to control terrain (hold shift key or use mouse wheel to zoom it). Reload the page to get new 1024×1024 WebGL terrain. Canvas is matched to your browser window.

To get the same world pseudorandom numbers rand() are used.

 var r1 = .1,  r2 = .231343,  r3 = -.321346,  world = 1;
 for(var i = 0; i < world; i++ ) rand();  // "randomization"
 ...
 function rand(){
   r1 = r1*r1 - 2;  r2 = r2*r2 - 2;  r3 = r3*r3 - 2;
   return r1 + r2 + r3;
 }

Contents     updated 15 June 2014