Skip to content
A program I made in Java for drawing various shapes with a turtle, similar to the Imagine Logo.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
bin
screenshot
src/com/marianlonga/turtle
.classpath
.project
README.md

README.md

Turtle by Marian Longa

Description

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

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

Features

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

Screenshot of the Turtle program

You can’t perform that action at this time.