sides controls the numbers of sides in the shape. shape_number controls how many of them there are.
I made this in Chinese School a long time ago