0.90/Turtle Art

Turtle Art

Introduction
Turtle Art is an activity with a Logo-inspired graphical "turtle" that draws colorful art based on snap-together visual programming elements.

Turtle Art is intended to be a stepping stone to the Logo programming language, but there are many restrictions compared to Logo. (Only numeric global variables and stack items are available, no lists or other data-structures. The conditionals and some of the functions only take constants or variables, not expressions. Limited screen real-estate makes building large programs unfeasible.) However, you can export your Turtle Art creations to Berkley Logo. The Arduino fork of Turtle Art also has a facility for sensor input, so, for example, you can move the Turtle based upon sound volume or pitch.

Turtle Art is in the same tradition as Etoys, Scratch, Lego Mindstorms™, and Lego Microworlds™.

Turtle Art is used extensively in Sugar deployments and numerous materials for support in the classroom have been developed. Of course, since Turtle Art is a Logo derivative, many of the classic Logo exercises are well suited for engaging students in Turtle Art. For example, Tony Forster has been blogging about a wide variety of Turtle Art activities. Gonzalo Odiard has written a short introduction to Turtle Art.

Turtle Art will let you export your project as PNG, HMTL, SVG or Logo. In other words, you can use Turtle Art to make presentations and as an SVG generator.

More Info:


 * Turtle Art Sugar Activity homepage
 * Turtle Art gallery (See )
 * Turtle Art gallery (See )
 * Turtle Art Manual (See )
 * Turtle Art teacher guides from Uruguay (See )
 * Turtle Art teacher guides from Peru (See )
 * Turtle Art student guide (See )
 * Tony Forster blog on Turtle Art (See )
 * Bill Kerr blog on Turtle Art (See )
 * Barry Newell worksheet (See )
 * 0.88 Release notes

What is new for users
The most visible changes are the incorporation of some new blocks, such as the 'Fill' block for created filled polygons, Gray, Black, and White blocks, and the 'Turtle Sees' block, that enables the turtle to directly interact with its canvas. There is also a new site for uploading and downloading Turtle Art projects.

Minor bugs and feature changes include:

98


 * fixed palette-selection regression in non-Sugar (command-line) version

97


 * recenter default turtle when dragged onto palette
 * removed comment label from collapsible stacks
 * made font smaller on the bottom-of-collapsible-stack block (#2305)
 * rgs fixed resume problem in GNOME version (#2293)
 * checking alpha value to block 'hit' detection (#1852)
 * trap and display math errors in python block (#2313)

96


 * fixed deleted-turtle ghost bug

95


 * some performance enhancements (block creation and stack dragging)
 * removed depreciated field from desktop file (Luke Farone)
 * fixed problem with setup.py in non-Sugar environments (Luke Farone)
 * new example program for turtle sees block
 * fixed broken clock example
 * catch import error for upload (#2194)
 * rescaling of read pixel values (#2188)
 * turtle sees block takes into account gray and shade (#2188)
 * hide extra turtles on clean (#2191)
 * hide coordinate overlays on clean (#2191)
 * reset scale, gray on clean (#2191)
 * work-around to c-c/c-v toolbar bug (Raul Gutierrez #2050)
 * writing config file in config directory (Luke Farone #2193)
 * using turtle name to generate color for multiple turtles
 * delete turtle when dragged onto the palette (#2191)

94


 * added "turtle sees" block
 * added read_pixel block
 * updated sample images (smaller file sizes)
 * updated license for sample images
 * updated nl translation
 * fixed path problem with Exec in desktop file (Matthew Gallagher)
 * fixed path problem with icon in turtleart.py (Matthew Gallagher)
 * moved modules to TurtleArt subdirectory
 * limit size of upload file (Jamie Boisture)

93


 * recenter overlays when window resizes (Jamie Boisture)
 * added icon for Desktop mode (Jamie Boisture)
 * support for project upload to server for Desktop mode (Jamie Boisture)

92


 * fixed sharing bug introduced in v91
 * cleaned up cmdline processing

91


 * added black and white blocks
 * fixed cgi escape bug (#1854)
 * fixed bug with overzealous block resizing (#2092)
 * speed up of refresh code (expose_cb handling)

90


 * fixed problem with keyboard accelerators: Ctrl-C, Ctrl-V, and Alt-Return

89


 * added non-interactive mode (with help from Jamie Boisture)
 * fix problem with icon in F13
 * block scale saved between sessions

88


 * alsroot fixed ObjectChooser bug (#2002)

87


 * added fill block
 * added gray block
 * fixed typo in sample code
 * added mouse support to sample code (See )

86


 * More .es updates

85


 * Fixed bug loading floating point numbers from saved projects
 * 'store in box' accepts strings and numbers as labels
 * New .es translations

What is new for developers
The command-line version of Turtle Art is much more mature. See

Internationalization (i18n) and Localization (l10n)

 * some updates to .es

Compatibility
Compatible with all versions of Sugar although some functionality is lost with pre-0.82 versions and sharing is incompatible with previous versions.

Detailed changes
Tickets closed as of Version 98
 * } drag area of top of stack (Hide stack) extends below block
 * } float save/restore rounding to int
 * } create a mini version of Turtle Art that is similar to the Java version
 * } Mouse sample in tamyblock.py
 * } add command-line args to Turtle Art
 * } TA mini won't install
 * } Activity does not pass parent window xid to ObjectChooser
 * } TurtleArt Mini should not create tamyblock.py
 * } A save dialog should be offered when leaving TA (if something has been done)
 * } ctrl c ctrl v disabled
 * } Is it possible to drop audioop dependency from TA
 * } Turtle Art 89 uncollapse/collapse anomoly
 * } Encoding field in turtleart.desktop is deprecated
 * } FTBFS in sugar-jhbuild
 * } read pixel pushes an int to stack
 * } clean should set scale =33
 * } TurtleArt assumes it can write to the current directory
 * } TA95 broken in Gnome
 * } Can't resume projects by (double) clicking in Gnome
 * } [USABILITY] label of top of stack is confusing
 * } [UI] make font smaller on the bottom of stack block
 * } Trap all math overflow errors in function block

Open tickets

 * Turtle Art with Sensors has different requirements for non-XO hardware
 * Turtle Art: read and write to text file
 * Turtle art: reinstate sensor input
 * Turtle Art feature to add support for "pages"
 * Load samples from turtleart.org
 * Rebase Turtle Art graphics on Cairo
 * Colors used for block highlighting (current running block vs. error-reporting)
 * sound brick only sounds once inside a template
 * } autoscale based on gconf font-size settings
 * } Turtle Art to read/write USB
 * } View source - which one?
 * } show heap do not scroll when heap is large
 * } missing "id" procedure
 * } You are ask to save stuff if its an existing but unmodified project
 * } Python function block returns string to add block

Credits

 * Walter Bender and Raúl Gutiérrez Segalés (with help from Simon Schampijer, Matt Gallagher, and Jamie Boisture)
 * Especially helpful community feedback from Tony Forster, Ed Cherlin, Jeff Elkner, and Bill Kerr
 * Brian Silverman is the first author of Turtle Art