--- title: "Sine Name" id: 76608 type: "computer_media" slug: "sine-name" url: "http://localhost/computer_media/sine-name/" markdown_url: "http://localhost/computer_media/sine-name.md" published_at: "2026-11-11T08:02:20+00:00" modified_at: "2026-11-11T08:02:20+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/sine-name-1.png" excerpt: "Print any short string as a vertical sine wave that scrolls up the ZX81 screen." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "Mark Freitas" slug: "mark-freitas" taxonomy: "indiv" url: "http://localhost/indiv/mark-freitas/" genre: - name: "Graphics" slug: "graphics" taxonomy: "genre" url: "http://localhost/type/graphics/" media_type: "Program" programmers: - name: "Mark Freitas" slug: "mark-freitas" taxonomy: "indiv" url: "http://localhost/indiv/mark-freitas/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Sine%20Name%20%281982%29%28Freitas%2C%20Mark%29%28TS1000%29%28US%29%28Program%29.zip" mediadate: "1982" images: - url: "http://localhost/wp-content/uploads/2026/11/sine-name-1.png" article_media: - id: 20019 title: "Sine Name" type: "article" url: "http://localhost/article/sine-name/" media_type_tags: "Graphics" license: false --- # Sine Name Enter a string of up to 12 characters, and the program prints it over and over at the bottom of the screen, shifted left and right along a sine curve, and SCROLLs it up, so the text weaves up the screen. Graphics characters give op-art patterns. It runs until you press BREAK. Change SIN in line 20 to COS for a cosine version. For an 8K ZX80 the article adds 37 PAUSE 30. Published in Syntax August 1982 ([Sine Name](https://timexsinclair.com/article/sine-name/)). ## Source Code ``` 5 INPUT A$ 10 FOR A=0 TO 6.3 STEP .2 20 LET Y=SIN A 30 PRINT AT 21,(10*Y+10);A$ 35 SCROLL 40 NEXT A 50 GOTO 10 ```