Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. rem Ring example thanks to Joel Kahn
  2.  
  3. clg
  4. fastgraphics
  5. rm=0.0
  6. st=0.0251
  7. imx=3.281
  8. imy=3.095
  9. bm=0.2
  10. x=135.0
  11. y=2.0
  12.  
  13. ring:
  14. rm=rm+st
  15. x=x+imx*cos(rm)
  16. y=y+imy*sin(rm)
  17. q=y*bm
  18. color clear
  19. rect x,y,q,q
  20. color black
  21. ex=x+q
  22. ey=y+q
  23. line x,y,ex,y
  24. line x,y,x,ey
  25. line ex,ey,ex,y
  26. line ex,ey,x,ey
  27. refresh
  28. goto ring
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement