Giter Club home page Giter Club logo

turtle's Introduction

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

turtle's People

Contributors

marianlonga avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.