#Retro/#RetroComputing Commitment Day 2:
I while back, I had to "teach" a CS overview class. Within it was a programming tour - a tour of some languages. I wanted to be complete and include older stuff as well. Ended up finding this site:
https://www.calormen.com/jsbasic/
#Apple][ #AppleSoftBasic in Javascript. It was a nice way to teach #BASIC but include HiRes Graphics as well (not so easy with #C64; #C128 could have worked too but I couldn't find a decent online emulator with easy data entry).
Here is one of the programs I had the students work/make:
10 HGR2
50 FOR X=0 TO 279
60 Y=25*SIN(0.1*X)+96
63 IF Y <= 96 THEN HCOLOR=3
65 IF Y > 96 THEN HCOLOR=5
70 HPLOT X, Y
75 Y=25*COS(0.1*X+14)+96
76 IF Y <= 96 THEN HCOLOR=3
77 IF Y > 96 THEN HCOLOR=5
78 HPLOT X, Y
80 NEXT X
The site even has an Applesoft BASIC Quick Reference for handiness.
Enjoy!
Edit: Added #c64whiz_rcc hashtag.
![Apple][ screen showing the output of the program: a sin wave and it's reflection. The top halve is white and the lower half is orange.](https://files.mastodon.social/cache/media_attachments/files/115/329/134/235/274/242/small/43555f58922e2903.png)
