Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- speed(100);
- // Complete the program in 0.000001 seconds
- borderCreate();
- stoneBlock();
- // moveTo(320,450);
- function stoneBlock(){
- penWidth(10);
- penColor("#808080");
- squareBlock();
- smallSquareBlock();
- moveForward(25);
- turnLeft();
- texture1(707070);
- }
- function borderCreate(){
- penColor(rgb(91, 103, 112,1));
- penUp();
- penWidth(10);
- moveTo(5,0);
- penDown();
- moveTo(5,450);
- penUp();
- moveTo(315,450);
- penDown();
- moveTo(315,0);
- penUp();
- moveTo(10,450);
- penDown();
- }
- function squareBlock(){
- moveForward(25);
- turnRight();
- moveForward(25);
- turnRight();
- moveForward(25);
- turnRight();
- moveForward(25);
- turnRight();
- }
- function smallSquareBlock(){
- moveForward(25/3);
- turnRight();
- moveForward(25);
- turnLeft();
- moveForward(25/3);
- turnLeft();
- moveForward(25);
- turnLeft();
- moveForward(50/3);
- turnLeft();
- }
- function texture1(color){
- moveForward(3);
- penColor("color");
- dot(2);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement