Hey everybody, i have a big question for Procedural 2D Planet Generation!
I would like to know, if there is any Perlin Noise Algorithm to output something like this. (see picture below)
You see it’s a "D Planet generated with a noise, but i can’t find any algorithm to make this possible ?!
Thanks to everybody, who help me with this question :b
lg -Alex
you need two components for this:
- Perlin noise or Simplex noise or whatever
- Function that defines a circle: Using a center point and a radius, just use the distance between the center and compare that to the radius.
Then what you do, assuming your perlin outputs a [-1…1] range of values, you basicly sum both outputs to get a final output. You should interpret the return values as a ‘density’ value.
2 Likes