Best place to learn Perlin Noise as a complete beginner?

Where can I find the best place to learn Perlin Noise as a complete beginner?
All I want is a map similar to Minecraft generation type.

Thanks!

This guy explains pretty well:

1 Like

That’s good but is there a better tutorial to dig deeper into Perlin Noise? I also wanna add trees, rocks, …
Thanks!

Perlin noise can take a few days to fully be confident with it, so don’t worry if it seems you can’t get it to work for a while!

The best place is youtube, and tutorials online which explain the math. But basically:

  • math.noise requires 3 values.
  • One argument should be a constant (seed), the other 2 should be independant variables, such as X and Y.
  • Always returns the same thing for the same 3 arguments.
  • Returns random numbers smoothly instead of chaotically
  • Returns a number between 1 and -1 (or 0 and 1 i forgor)
1 Like

Minecraft employs a massive amount of techniques in their generation logic, for biome height, cave generation, etc they use perlin noise.

perlin noise isn’t the only practice they put into place, although it is a very easy process to figure out you can’t just recreate minecraft with it

1 Like

Several years ago I made a map generation script, inspired by Sid Meir’s civilization map generation.

There is a good method I used to get random numbers:

function PerlinMath:Random(Seed, Offset, ToNumber)
	-- :: It works like math.random(1, ToNumber)
	return math.floor(math.abs(math.noise(10000 + Offset , 1, Seed / 2)) * 100000 % ToNumber)
end

-- :: And the seed must be a decimal

Random(104.525,1,840)) -- 734

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.