MMBC

TI-Basic fast 3d cube

Dec 4th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. ClrDraw
  2. ⁻1→Xmin
  3. 1→Xmax
  4. ⁻2/3→Ymin
  5. ∆X→∆Y
  6. AxesOff
  7. GridOff
  8. FnOff
  9. π/4→R
  10. While 1
  11. √(2)sin(R)→S
  12. √(2)cos(R)→T
  13. {⁻T,⁻1,⁻T,1,S,1,S,⁻1,⁻S,⁻1,⁻S,1,T,1,T,⁻1→L₁
  14. {5-S,5-S,5-S,5-S,5-T,5-T,5-T,5-T,T+5,T+5,T+5,T+5,S+5,S+5,S+5,S+5→L₂
  15. L₂ˉ¹L₁→L₃
  16. ClrDraw
  17. Line(L₃(1),L₃(2),L₃(3),L₃(4
  18. Line(L₃(3),L₃(4),L₃(5),L₃(6
  19. Line(L₃(5),L₃(6),L₃(7),L₃(8
  20. Line(L₃(7),L₃(8),L₃(1),L₃(2
  21. Line(L₃(9),L₃(10),L₃(11),L₃(12
  22. Line(L₃(11),L₃(12),L₃(13),L₃(14
  23. Line(L₃(13),L₃(14),L₃(15),L₃(16
  24. Line(L₃(15),L₃(16),L₃(9),L₃(10
  25. Line(L₃(1),L₃(2),L₃(9),L₃(10
  26. Line(L₃(3),L₃(4),L₃(11),L₃(12
  27. Line(L₃(5),L₃(6),L₃(13),L₃(14
  28. Line(L₃(7),L₃(8),L₃(15),L₃(16
  29. R+.0625π→R
  30. End
Advertisement
Add Comment
Please, Sign In to add comment