LazerPixel

ok

Jan 22nd, 2020
65
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. speed(100);
  2. // Complete the program in 0.000001 seconds
  3.  
  4. borderCreate();
  5. stoneBlock();
  6.  
  7.  
  8.  
  9. // moveTo(320,450);
  10.  
  11. function stoneBlock(){
  12. penWidth(10);
  13. penColor("#808080");
  14. squareBlock();
  15. smallSquareBlock();
  16. moveForward(25);
  17. turnLeft();
  18. texture1(707070);
  19.  
  20. }
  21.  
  22. function borderCreate(){
  23. penColor(rgb(91, 103, 112,1));
  24. penUp();
  25. penWidth(10);
  26. moveTo(5,0);
  27. penDown();
  28. moveTo(5,450);
  29. penUp();
  30. moveTo(315,450);
  31. penDown();
  32. moveTo(315,0);
  33. penUp();
  34. moveTo(10,450);
  35. penDown();
  36. }
  37.  
  38. function squareBlock(){
  39. moveForward(25);
  40. turnRight();
  41. moveForward(25);
  42. turnRight();
  43. moveForward(25);
  44. turnRight();
  45. moveForward(25);
  46. turnRight();
  47. }
  48.  
  49. function smallSquareBlock(){
  50. moveForward(25/3);
  51. turnRight();
  52. moveForward(25);
  53. turnLeft();
  54. moveForward(25/3);
  55. turnLeft();
  56. moveForward(25);
  57. turnLeft();
  58. moveForward(50/3);
  59. turnLeft();
  60.  
  61. }
  62.  
  63. function texture1(color){
  64. moveForward(3);
  65. penColor("color");
  66. dot(2);
  67.  
  68. }
RAW Paste Data