Can anyone guide me on creating a circle/square gradient and storing the data in a 2D array? I want to incorporate this gradient with simplex-noise to develop a procedural island by subtracting the gradient from the generated noise. Here are some visual references for the gradients I am aiming to achieve: https://i.sstatic.net/2BVpH.png https://i.sstatic.net/9EKMK.jpg
I came across a blog post that discusses the use of gradient with noise for generating islands, which you can read here: https://medium.com/@travall/procedural-2d-island-generation-noise-functions-13976bddeaf9. However, the details on creating the gradient were scarce. I have been searching for more information without success. Any suggestions or pointers would be greatly appreciated.