For a project, I’m doing creation of planets in 3D space, based around a center “homeworld”, that are randomly generated in all directions from the origin.
I’ve looked at procedural generation and Perlin noise, but I couldn’t find a decent way to make them applicable, but I’m new to randomized generation of any kind.
Any good starting points for an algorithm for 3D-point generation, centered around the origin, preferably based on a seed (so the same seed makes the same universe).
Thanks!
Try using a set of different random numbers rather than trying for a specific algorithm to do this with a single seed.
To plot your planet then it’s just some simple trigonometry to work out the location in 3d space (x,y,z) from your origin (homeworld).
And so long as your seed values for each are the same you will be able to generate a very large planet space.
If you want to do this with a single seed, then use that seed to generate ‘random’ seed numbers for all the subsequent random number generators.