x is the number of sides you want on your polygon Press flag to generate
I made it by messing around with the blocks. Area DOES NOT work.