Skip to content

StevenPDang/Web-Terrain-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Procedural Terrain Generation

Procedural terrain generation platform that combines a React web interface with a Unity WebGL scene so users can tune terrain noise settings and view results directly in the browser.

What It Does

The project procedurally generates mesh terrain using mathematical noise techniques, including Perlin-style controls. Users can adjust generator parameters from the web UI and view terrain output in an embedded Unity WebGL scene.

Screenshot

image

How We Built It

  • Frontend: React (Vite) for the interactive UI and parameter controls.
  • 3D Runtime: Unity, exported as WebGL and embedded into the web app.
  • Integration: React and Unity communicate so user input can be sent to the Unity scene in real time.

Current Generator Parameters

Heightmap / Noise Controls

  • Scale: 45-200
  • Number of octaves: 1-8
  • Persistence: 0.10-1.00
  • Lacunarity: approximately 1.00-3.00

Run Locally

From client/:

npm install
npm run dev

Optional checks:

npm run lint
npm run build

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors