Snow 2

Developer(s): Peyton Bratton
Date: 2025
Type: Program
Platform(s): TS 2068

Draws a symmetrical snowflake in white asterisks on a green screen with a red border. A FOR loop reads nineteen rows from DATA, each a column position and a string of asterisks and spaces, and prints them one under another with PRINT AT, building a six-armed flake 19 characters across.

Entry for the Vintage Computing Christmas Challenge 2025.

Program Analysis

The program is twelve lines. Line 10 sets BORDER 2, PAPER 4 and INK 7; lines 30 to 60 read and print the rows; lines 70 to 120 hold the data. The rows are stored in full rather than generated, and the bottom half of the data repeats the top half in reverse order, since the shape is symmetrical top to bottom.

Notable Techniques

  • Each DATA item pairs a starting column with a row string, so leading spaces don’t have to be stored and the strings stay short.
  • RESTORE at line 20 resets the DATA pointer, so the drawing can be repeated with GO TO 10 as well as RUN without an “Out of DATA” error.

Potential Issues

  • None seen. The program ends after drawing, leaving the flake on screen with the report at the bottom.

Image Gallery

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.