Epicentre Studios

Home | Blog | Projects | Concepts


Terrain Generator

Instructions

Use the "Choose File" button below to load a text file into the text-area below, or just write directly into it! Then click the "Load" button to see the terrain come to life in the canvas on the left. The number used in the WIDTH needs to correspond to the amount of numbers in each row and the number used in the DEPTH needs to correspond to the amount of rows. Remember to put a , after each number!

Controls are:

W = Forward
S = Backward
A = Left
D = Right
Left Arrow = Turn Left
Right Arrow = Turn Right
Spacebar = Raise Up
Left Shift = Put Down


Your browser doesn't appear to support the HTML5 <canvas> element.






Text data needs to be in the form:
#WIDTH=n#
#DEPTH=m#
x, x, x, x,
x, x, x, x,
x, x, x, x,
x, x, x, x,
So for example:
#WIDTH=4#
#DEPTH=3#
1, 0.5, 10, 1,
2, 0, -1, 1,
1, 1, 1, 1,


Max Width:
Max Depth:
Max Height:
Min Width:
Min Depth:
Min Height: