I've made and used this system for world gen for ages when I coded in JavaScript. (Specifically Processing.JS) However, that makes the way the axis works a bit different from here, so I ended up spending a decent amount of time translating it. I found a way to make makeshift 2D arrays in the Scratch Wiki, and so I tried it out here. It works great! I am planning a game with procedural terrain generation, so I will be using this to save all the terrain. Change the generation script to easily make tile-based levels!
Everything here, including the texture, is by me. Do not use this code or art without credit to me. Refusal to do so will see your project reported. Thank you. Press the flag and go in fullscreen.