New Devlog :D
Did sooooo much work on the terrain system…
For the most part , I looked online for some code snippets and tried to get them working with javascript.
In the previous devlog, I showed the different colors for the biome system.
I build around that, so each biome has it´s different amount of octaves, roughness and amplitude. Roughness in this case just says how smooth the different Simplex noise points should be between each other.
This worked fine until you zoomed out.
Especially in mointain areas, the waves from the sin and cos funtions were noticeable.
So i tried a few things…
- Using a warp funtion to stretch high waves
- Terracing points, which wee a complety failure
- Stacking more functions on top of each other
But everyting had its ownsides and nothing worekd fine… 
While trying those things, I wrote somecode that now lts you zoom out as far as you want by removing more and more lines so it doesn´t get laggy.
Right now it looks terrible, but i have a final idea.
For evey point above a given threshold, I´m gonna randomly choose two points and randomly flatten everything bewteen them.
If you have any ideas how to get better terrain, please write it down in the comments.
Hope you like it :)
Comments 1
uh it actually looks pretty good and fun.
Sign in to join the conversation.