A program I made in Java similar to the Imagine Logo environment, where a turtle moves and draws various graphics shapes. It's great for learning to draw fractals, polygons or other shapes using commands such as "move forward by some distance", "rotate by some angle", "change color", etc. Bonus: it's cross-platform. Enjoy!
Copyright (c) Marian Longa 2015. All rights reserved.
Email: marian [dot] longa [at] gmail [dot] com
Website: http://marianlonga.com
Github: https://github.com/marianlonga
The turtle has the following functions and many more can be added:
- Move forward by 100 pixels:
move(100)
- Rotate by 45 degrees in CW direction:
rotate(45)
- Set turtle's coordinates to (30,50):
setX(30)
,setY(50)
- Set angle of rotation to 20 degrees in CW direction:
setAngle(20);
- Change color of pen to green:
setColor(Color.green)
- Put pen down/up to make drawing visible/invisible:
penDown()
,penUp()
###Screenshots