I am spending some time revisiting and documenting some of my favorite php solutions. They are all very light-weight and flexible. This first one is a minecraft circle generator. You are supposed to pull up a circle size and then use it as a template in minecraft. As you build levels upon levels, you will create large domes.
Here is an example of just starting out on the side of a hill.