Rings

Colorful animated ring patterns
Original Applesoft BASIC Program
The conversion includes: Parametric ring generation: Uses X = R - sq * cos(α - u) and Y = R + sq * sin(α + u) to create spiral patterns Random color selection: Picks random colors (1-7, excluding 4/black) for each ring Apple II HGR2 colors: Green, Violet, White, Orange, and Blue Animated progression: Draws rings from outer (sq=80) to inner (sq=0) with step of π Phase offset: The variable u increments by ~π per iteration, creating the rotating spiral effect 2x scaled display: 560×384 pixels for better visibility Async rendering: Non-blocking drawing with stop/start controls Progress indicator: Shows drawing progress The program creates beautiful, colorful spiral ring patterns with each ring in a different random color, producing a psychedelic effect typical of early computer graphics demos.