Tuesday, January 7, 2025

🖥 DRAW to generate the points for regular polygons

Drawing regular polygons is pretty easy when using DRAW to generate the points of the polygon, using specified coordinates for the center of the polygon and using a specified number of points for the polygon.

This program also demonstrates simple animation by rotating the polygon around the center, and loops endlessly (in increments of 1) from 3-point to 15-point polygons, increasing the number of points every loop of 360 degrees.



No comments:

Post a Comment

⚗ "Code Block" toolbar button to insert code blocks

Try it out the feature in the development version of BAM. The buttons will wrap currently selected code with lines of code related to the co...