- Lines running from the center of the screen to the edges of the screen.
- A number of random colors stored in an array matching the number of lines.
- In a cycle, all lines are drawn with the colors from the array.
- Before doing another cycle the colors in the array are shifted to the right.
- In the next cycle of drawing the same lines, the shifting of colours will make it look like the lines are animated in a clockwise motion.
Thursday, January 4, 2024
🖥 Line Color Rotation
Subscribe to:
Post Comments (Atom)
🖥 Pongy game
This program is a port (and slight mod) of the QB64pe program by SierraKen. (SierraKen's program shared with the QB64pe community in th...
-
This BAM program is a port, with mods, of the GW-BASIC "CALENDAR" program by Taung-Chao Lee and Benito Navarro Mtz, as found on Fa...
-
QB64 is a performance demon. BAM, not so much. So I had to mod this program a fair bit as part of reducing the resolution of the screen. A...
-
Although BAM supports arrays, BAM does not support the REDIM statement. So, I've modified the original code to use _MAPSET and _MAPGET, ...
No comments:
Post a Comment