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

πŸ–₯Deep Field

 This program is a port and mod of a QBJS program by (correction! bplus ) dbox shared with the QB64pe community via this post .  bplus...