Advertisement
kaidemarco

Untitled

Dec 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1.  
  2. drawAllClouds();
  3. function drawAllClouds()
  4. {
  5. penUp();
  6. moveTo(randomNumber(209,291),randomNumber(57,76));
  7. penDown();
  8. drawCloud();
  9. penUp();
  10. moveTo(randomNumber(136,208),randomNumber(78,100));
  11. penDown();
  12.  
  13. drawCloud();
  14. }
  15. function drawCloud()
  16. {
  17. penColor("White");
  18. penWidth(3);
  19. arcLeft(140,19);
  20. turnRight();
  21. arcLeft(140,19);
  22. turnRight();
  23. arcLeft(140,19);
  24. turnRight(45);
  25. arcLeft(140,19);
  26. turnRight(135);
  27. arcLeft(140,19);
  28. turnRight();
  29. arcLeft(140,19);
  30. arcLeft(35,19);
  31. turnRight();
  32. arcLeft(180,9);
  33. turnTo(0);
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement