Skip to content

Instantly share code, notes, and snippets.

@euclio
Created May 13, 2014 00:49
Show Gist options
  • Save euclio/288ebe9f92840613adb7 to your computer and use it in GitHub Desktop.
Save euclio/288ebe9f92840613adb7 to your computer and use it in GitHub Desktop.
Fast TI-BASIC Line Drawing
: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
:"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