Skip to content

Instantly share code, notes, and snippets.

@fu-sen fu-sen/sin.bas
Last active Dec 17, 2019

What would you like to do?
' Sine curve | MSX-BASIC
' Copyright (c) 2019 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
' The MIT License (MIT) -
10 COLOR 15,4,7:SCREEN 2
20 LINE(0,96)-(255,96),14
30 FOR X=0 TO 255
40 Y=96*(1-3.1415927*2*X/192)
50 PSET(X,Y),15
70 I$=INPUT$(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.