Hi, I am 14 YEARS OLD NOW! It's been a long time since I posted, and I have a feeling of nostalgia that comes back to me whenever I visit this website. I have finally learned a bit of trigonometry, which allows me to center the drawn polygon using a sine function, and calculate the area using tan. I feel smarter since I was here last time, many years ago <3.
The algorithm works by finding the apothem, then multiplying the amount of sides and dividing by two. Finding the apothem took me some time to code but it's ok. This is for a school project anyways. If any of my followers are still active, please tell how you've been doing and how old are you now! I miss all of you! I will probably stop making games but minesweeper is on the way, I might make that. Love yall! <3