Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
 
 

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

About

A program I made in Java for drawing various shapes with a turtle, similar to the Imagine Logo.

Resources

Releases

No releases published

Packages

No packages published

Languages