Minecraft in python: infinite procedural terrain with Perlin noise (Ursina Engine) - part 6

Опубликовано: 15 Март 2026
на канале: Red Hen dev
4,405
84

We adapt our previous code to generate an infinite terrain. We use polar co-ordinates and a dictionary to create a 'swirling' pattern of terrain cubes moving outward from the player's position, wherever they are on the map. We also improve our Perlin function for a more satisfying terrain. Again, we make use of 'subsets' of combined cube entities to keep performance silky.

Code: https://github.com/RedHenDev/ursina_t...

Hope you don't mind the longer video!

Thanks for watching :)