Guest User

Untitled

a guest
Jan 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. n=3
  2. c=7
  3.  
  4. def setup():
  5. background(0)
  6. size(600,600)
  7.  
  8. def draw():
  9. global a,n
  10. a = n * 137.5
  11. r = c * sqrt(n)
  12. x = r * cos(a) + width/2
  13. y = r * sin(a) + height/2
  14. fill(255)
  15. ellipse(x,y,9,9)
  16. n = n+1
Add Comment
Please, Sign In to add comment