top of page

Procedural Terrain Generator (Processing)

Fall 2022

I created a procedural terrain generator using Processing for my Intro to Digital Arts and Sciences class.

For my class Intro to Digital Arts and Sciences, I created a program in Processing where a square of "terrain" can be procedurally generated given black and white images as height data. The project comes with seven premade images provided by our professor.


In the program, you can click and drag your mouse to orbit the camera around the terrain. You can adjust the number of rows and columns using sliders to increase the poly count. You can load an image file by typing in the file name without its file extension, then hit the generate button. There are three checkboxes: stroke, color, and blend. Stroke shows the triangular wireframe of the terrain. Color adds different colors to different heights so it looks more like terrain with water, grass, and snowy mountains. Blend adds blending colors in-between height changes, only visible if the Color checkbox is checked. You can also adjust the height and "snow" area with their corresponding sliders.


The GitHub repository is private for Academic Honesty policy reasons, but it is privately available through Gitfront.

Project Gallery

bottom of page