Skip to content

gnlow/planet-generator-w

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

planet-generator-w

Based on Planet Generator by Torben Mogensen

Note

Rendered result can be differ (dramatically) upon devices, even if every parameter is same.

screenshot

How It Works?

See Planet Map Generation by Tetrahedral Subdivision by Torben Mogensen.

This project adds OpenLayers and WebGPU on top of the Tetrahedral Subdivision to make interactive map.

About Tweaks

  • SEED is seed.
  • final altitude = original altitude * MUL + ADD
  • Rest of tweaks: honestly, I don't understand what they exactly are. I merely exposed the constants in the original code as-is.
    • DD1: weight for altitude difference
    • POWA: power for altitude difference
    • DD2: weight for distance
    • POW: power for distance function

Copyright Policy

The same copyright policy as the original Planet Generator applies.

Both the program itself and maps created by the program are free for use, modification and reproduction, both privately and for commercial purposes, as long as this does not limit what other people may do with the program and images they produce with the program. For example, you can not copyright an image produced by the program unless you have substantially modified it afterwards, because other people might use the same parameters as you used to produce the same image. If you add code to the program that you do not wish to share, you can claim copyright for the code you write yourself, but that does not extend to the program as a whole.