- 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)
🖥 Spiralling Text (old-school sine wave)
This is a mod of a program Richard Keijzer wrote in TRS-80 Level II BASIC (44 years ago) and recently shared with the BASIC Programming Lang...
-
This program is a port and mod of Steve Justice's program presented in the "Fractals in Focus" article found in the May 1985 i...
-
Drawing regular polygons is pretty easy when using DRAW to generate the points of the polygon, using specified coordinates for the center of...
-
This program is a port and mod of Antoni Gual Via's program shared with the "BASIC, QBasic, GWBasic computer programming"'...
No comments:
Post a Comment