Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. pl={0,0,1,2,4,9,10,15,7,15,10,9,4,2,1,0}
  2. t=0
  3. function _draw()
  4. t+=1/400
  5. for i=1,800 do
  6. local x,y=rnd(128),rnd(128)
  7. local c=3
  8. local xx,yy=x/100,y/100
  9.  
  10. c+=cos(x/80)-sin(y/100)
  11.  
  12. c+=cos(x/40-t)*sin(y/40-t)
  13. c+=cos(x/80)*sin(y/80-t)
  14. c+=cos(x/200+t/2)*sin(y/80+t)
  15.  
  16. circ(x,y,1,pl[flr(c*6)%#pl])
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement