can go up to 22 sides. Could do more but there isn't enough space (I don't feel like doing the math right now to make it fit for any shape). Simple geometric function. turbo for insta-morph!