Use the slider to choose what tile to draw. Click to draw. Hold any key while drawing to remove tiles. Press G or green flag to regenerate the world.
How it works: This is quite simple. For the tiles it basically goes through each tile and gets its neighbours, it then calculates the average lighting value and sets that to its own lighting value. For air tiles it is a little bit more complicated, light falls from the top of the world and the air tiles light averages out if the light from the top is blocked. Everything made by me.