From b5589f75a09be0e3f7986861e4d3ec8b937d7ea6 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Thu, 7 Dec 2023 23:47:55 -0500 Subject: [PATCH] twister: final version --- graphics/gr/twister/Makefile | 2 +- graphics/gr/twister/tiny.bas | 6 +++--- graphics/gr/twister/tiny_300.bas | 8 ++++++++ graphics/gr/twister/tiny_fast.bas | 8 ++++++++ 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 graphics/gr/twister/tiny_300.bas create mode 100644 graphics/gr/twister/tiny_fast.bas diff --git a/graphics/gr/twister/Makefile b/graphics/gr/twister/Makefile index 490bb336..150d58fe 100644 --- a/graphics/gr/twister/Makefile +++ b/graphics/gr/twister/Makefile @@ -42,5 +42,5 @@ TINY.BAS: tiny.bas ### clean: - rm -f *~ *.o HELLO TWISTER.BAS LORES.BAS *.lst + rm -f *~ *.o HELLO TWISTER.BAS LORES.BAS TINY.BAS *.lst diff --git a/graphics/gr/twister/tiny.bas b/graphics/gr/twister/tiny.bas index ee402df2..f7655536 100644 --- a/graphics/gr/twister/tiny.bas +++ b/graphics/gr/twister/tiny.bas @@ -1,5 +1,5 @@ 0DIMA(2E3),B(2E3):GR:P=3.14:W=20 -1FORJ=0TO1280:E=E+.1:FORY=0TOW:IFNOTVTHENF=Y/(15+COS(E)*12)-P+SIN(E)*P:A(J)=8*COS(F):B(J)=8*SIN(F) -5Q=A(J):R=B(J):COLOR=0:HLIN12,27ATY:COLOR=1:M=-Q:N=-R:IFQ