Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "turtle.hh"
- #include <iostream>
- using namespace std;
- int main() {
- PSTurtle t(500,500);
- t.setup();
- t.pendown().forward(100)
- .left(90).forward(100)
- .left(90).forward(100)
- .left(90).forward(100).pencolor(Color(0.5, 0.3, 1));
- //.left(90).forward(100);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement