Inspiration

Generally playing around with recursion and using Canvas and paint methods to create fractals I wondered whether terrain generation was truly viable

What it does

Generates a chunk of terrain at the depth specified, and through constants given within the program. Displays it on a canvas (JFrame)

How we built it

Through a bit of digging online and looking into 3d renderer concepts of converting x, y, and z values onto a 2d plane with only x and y values

Challenges we ran into

Perspective - tampering around with d, x, and y values in which the viewer would contain their observation point (basically fixing fov)

Accomplishments that we're proud of

Honestly just getting the project to work, it took a lot of research and debugging

What we learned

How to effectively perform tasks using fractal patterns and recursion, may apply this to future open world games

What's next for Procedural Terrain Generator

Fixing some inconsistencies with the terrain, generating colours and shadows depending on elevation and angle from a sunlight vector

Built With

Share this project:

Updates