View the project here!
For some unknown reason, this is a little buggy online. (What a surprise.) Please download.

What is Turtle Graphics?
Turtle graphics is a project made entirely in Scratch that allows you to edit and run scripts for a turtle that moves and draws images and shapes with the pen.
Features:
-10 commands centered around movement and the pen
-Nested looping!
-Two separate modes, one dedicated to editing scripts, and the other dedicated to running them
-Scroll through your scripts with the arrow keys (many thanks to rubiks cube guy238 for this feature)
-A turtle! Do you really need any other reason?An example of edit mode:
An example of run mode:
Plans for the future:
For the next version (1.1)
-New blocks! (Set x/y to) and (Change x/y by). Maybe more.![]()
-Delete multiple lines
-Online bug fixing (hopefully)For later versions:
-Pick random number
-Create, share, and import custom blocks (similar to app importing in iSyn)
Where did you get the idea for Turtle Graphics?
My project uses the turtle graphics system made popular by the Logo programming language introduced in 1967. The premise is an object, usually a small turtle or triangle, that travels around the screen and draws as it goes. Very interesting shapes can be drawn using this system, from simple polygons to complicated fractals. To read more about turtle graphics, please visit the Wikipedia Article.
Cool programs made using this:
Submit your own on this thread!Code:
clear pen up set pen size to 1 turn left 90 degrees move 210 steps turn right 90 degrees pen down repeat 4 repeat 2 repeat 45 move 5 steps turn right 4 degrees end repeat repeat 45 move 5 steps turn left 4 degrees end repeat repeat 45 move 5 steps turn right 4 degrees end repeat end repeat change pen size by 2 end repeat
Last edited by Harakou (2010-08-19 22:01:23)
Offline
Its awesome!
Next version you should add the pick random block, if on edge bounce block, and some more!
Offline
Thanks for the suggestion. I want to make sure only the important blocks get added to save space, and for simplicity's sake, but I intend to make new blocks a feature in the next version.
Is everyone else having trouble with it online? The variables I used to display the scripts don't seem to be working properly online. -_-
Last edited by Harakou (2010-08-17 15:09:08)
Offline
Great project
. I loved and favorited it (though favoriting of course, does nothing
).
Offline
I loved it (twice, with two accounts because I accidentally logged into the wrong one
) - keep up the good work! I left my thoughts in a comment from "Jallen." It's incredible! I've never been more impressed in my life. It's officially one of my favourite projects ever.
Offline
Cool! Once you add the pick random block, I could recreate my "Pen Cat" project and call it "Pen Turtle"!
Also, it works fine online for me (except that deleting lines is glitchy). Speaking of deleting lines, you should have the option to delete multiple lines at once by separating the line numbers with commas or semicolons, or delete all the lines by typing "all".
Offline
I will say this: It's turtletastic. And that means something coming from a turtlewarrior
Offline
Thanks for all the comments and suggestions, everyone! (All 5 of you
) Here's a rundown of how I can work in your suggestions:
New blocks: Definitely a must for the next version. Someone commented on the project saying that we needed (set x/y to) and (change x/y by); those blocks are going in the next version for sure.
Delete multiple lines: That's probably something I can do.
Fixing the deleting problem online (doesn't update until you add a line): I have no idea why it does this, but I'll see what I can do.
Pick Random: I may not be able to get this in until later, as it will require a lot of extra programming.
I also have a couple other things planned. Stay tuned!
PS: If you make any cool programs with this, post them here!
Offline
This is a great project! I can't wait to see how far you can go with this!
Offline
Harakou wrote:
Thanks for the suggestion. I want to make sure only the important blocks get added to save space, and for simplicity's sake, but I intend to make new blocks a feature in the next version.
Is everyone else having trouble with it online? The variables I used to display the scripts don't seem to be working properly online. -_-
They're cut off.
Offline
jackrulez wrote:
Harakou wrote:
Thanks for the suggestion. I want to make sure only the important blocks get added to save space, and for simplicity's sake, but I intend to make new blocks a feature in the next version.
Is everyone else having trouble with it online? The variables I used to display the scripts don't seem to be working properly online. -_-They're cut off.
A bit, yes. That's something I'm pretty sure just can't be fixed, unfortunately. The main problem is when you delete a line...
Offline
I reccomend putting in the change pen color by and set pen color to blocks.
Offline