Snail

Developer(s): Dick Wagner
Date: 1991
Type: Program
Platform(s): TS 2068
Tags: Graphics

Draws a snail shell: a spiral of 360 degrees round the point 127,60, with a straight line from the centre to each point of the spiral, so that the lines form the shell. Leave out line 30 to see the spiral alone.

For a printout in the right proportions, the article suggests putting the factor 60/72 into the SIN parts of lines 20 and 30, because COPY prints 60 dots to the inch across and 72 down (the 2040 printer needs a factor of 1.24).

Published in The Plotter March 1991 (More 2068 Graphics).

Image Gallery

Source Code

   5 REM a graphic snail
   7 REM by Dick Wagner
  10 FOR V=0 TO 2*PI STEP PI/38
  20 PLOT 127+(15*V)*SIN V,60+(15*V)*COS V
  30 PLOT 127,60: DRAW (15*V)*SIN V,(15*V)*COS V
  40 NEXT V

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