Millions of iterations, 3.5 seconds to generate whole thing, 60 fps

After hours of hard work i finally managed to create my algorithm which reduces amount of instances in game.
This world took 3.5 seconds to generate without optimizations


This allows to create enormous words you have never imagined within seconds.
That also proves that LUAu isn’t slow itself, but it’s instancing slowing down the game.

And this is part of the script which responds for map generating to prove that it’s millions of iterations.

2 Likes

Hey there! Amazing work!

I’m also working with terrain generation and perlin noise, I’m very curious to know how did you make a mountain go up so high while the rest of the terrain remained somewhat low.

If it’s something you can share, I’d be very happy to know!

I suggest adding another noise, so it will create more exotic like environment. (Noise layering)
This is one of the results

1 Like