DistantStar001 Posted December 1, 2021 Share Posted December 1, 2021 I tweaked this program from something I saw on the 8-bit Guy. Managed to get the wave to fill most of the screen, repeat, and end where it begins on the screen. However, I was wondering if I could get it to scroll horizontally across the screen? or draw from right to left? I don't know, I'm just playing with BASIC and wanted some pointers. Program listing: 5 HGR 10 HCOLOR=3 20 FOR X=0 TO 278 30 LET Y=INT(-65*SIN(X*3.14/28))+70 40 HPLOT X,Y 50 NEXT X 60 GOTO 5 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.