Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.23 KB

README.md

File metadata and controls

25 lines (14 loc) · 1.23 KB

Procedural Planet Generation (GPGPU)

Read the full article on Medium.

This is a procedural planet mesh generation tool working on web technologies. Using multilayered simplex noises, we can simulate continents and mountains. In the showcase, a polaroid of the scene and the .obj file can be exported. Thanks to Sebastian Lague for it's series on the subject and the inspiration.

Installation

Since this is a web app, apparently, you need NodeJS installed.

  • npm install: Installs the necessary dependencies.
  • npm run dev: Runs the local development server on localhost:5173.
  • npm run build: Build the project as a client only bundle.

To utilize GPGPU, you don't need any additional configuration. Instead of WebGPU, it uses rendering pipeline, so it is widely supported. In case you need CPU generation, you can swap PlanetGPU with the PlanetCPU on the src/editor/renderer.tsx.

Technicality & Implementation

Generation Parameters

Examples