-
-
Save euclio/288ebe9f92840613adb7 to your computer and use it in GitHub Desktop.
Fast TI-BASIC Line Drawing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:For(X,1,dim(Ans | |
:"Make the 2nd and 4th parameter negative if you are using a friendly graphing window | |
:Line(iPart(Ans(X)/E6),iPart(E2fpart(Ans(X)/E6)),iPart(E2fPart(Ans(X)/E4)),E2fPart(Ans(X)/E2 | |
:End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:"Declare a list, then call the subroutine | |
:"This program will draw four lines at Line(15,23,15,61), Line(42,13,33,13), etc. | |
:line | |
:{15231561,42133313,62186251,48604839} | |
:prgmLINE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment