0.86/Turtle Art

From Sugar Labs
Jump to navigation Jump to search

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 sensor-enabled version 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, Bill Kerr has been blogging about the experiences of his students trying to tackle Barry Newell worksheet of 40 geometric shapes to be rendered using turtle graphics.

More Info:

  • Turtle Art Sugar Activity homepage (See Activities/TurtleArt)
  • Turtle Art gallery (See [http:/www./turtleart.org])
  • Turtle Art Manual (See [1])
  • Turtle Art teacher guides from Uruguay (See [2])
  • Turtle Art teacher guides from Peru (See [3])
  • Turtle Art student guide (See [4])
  • Tony Forster blog on Turtle Art (See http://tonyforster.blogspot.com/)
  • Bill Kerr blog on Turtle Art (See [5])
  • Barry Newell worksheet (See [6])

What is new for users

The most visible change is the incorporation of the new Sugar Toolbar design.

Turtle Art v65 with the 0.86 toolbar design has the project buttons: Hide Palette, Hide Blocks, Erase, Run, Step, Debug, and Stop Buttons, and four submenus
The main toolbar contains the Keep Button, Snapshot Button, Save to HTML Button, Save to Logo Button, Save as Image Button, and Load Python Code Button
The edit toolbar contains the Copy and Paste Buttons
The view toolbar contains the Fullscreen Button
The help toolbar includes the Sample-Projects Button and hover help

Minor bugs and feature changes include: 64

  • major refactoring for new toolbar design
  • stop sign turns off after execution is finished
  • added preliminary support for mg and ta
  • moved hover help to help toolbar
  • adjusted artwork on Turtle palette

63

  • more sample programs
  • consolidated samples into one directory
  • fixed mask bug that prevented palette hiding

62

  • first pass at hover help support (thanks Raul)
  • put samples button, keep button on project toolbar
  • fixed journal icons associated with html, python, logo
  • improved compatibility with old Sugar builds
  • images centered under turtle
  • text vertically centered under turtle
  • pop blocks snap into boxes
  • improved masks for fewer block-selection errors

61

  • fixed es translation
  • fixed problem with save/load on old systems

60

  • fixed sharing bug
  • began work on 701 backward compatibility
  • added more debugging code

59

  • fixed leading bug for OLPC XO portfolio
  • enabled box to hold strings and journal objects

58

  • fixed unicode string compare in equal block
  • fixed journal description bug introduced in v55
  • fixed misaligned myfunc block problem

57

  • lots of artwork clean up
  • elimination of lock block
  • more dead key clean ups
  • truncated strings

56

  • more dead key cleanup
  • empty (undefined) box error message

55

  • dead key workaround

54

  • debug button
  • no more decimals by default for print

53

  • es updates

52

  • first attempt at fixing the mimetypes
  • default behavior of tamyblock.py is to draw a dotted line

51

  • caught ISO_Level3_Shift problem on OLPC XO keyboard

50

  • fixed some problems with taexportlogo
  • cleaned up save/load icons
  • print uses title for Journal objects
  • cleaned up movie window destroy code
  • more consistent template management internally
  • support of a sort for show in taexporthtml

49

  • fixed character input bug

48

  • reworking of media blocks
  • json cleanup

What is new for developers

The good news is that contributions are coming in from multiple sources. In particular, many thanks to Raúl Gutiérrez Segalés, who has contributed many a patch. Raúl and I are working on a roadmap for a major refactoring for 0.88 which will include a block factory--a more object-oriented approach that should facilitate a more decentralized development approach.

Internationalization (i18n) and Localization (l10n)

Compatibility

Note that compatibility with older Sucrose versions (e.g. 0.84) is broken in v65, but v66 (to be released post-feature/string freeze) is compatible with all versions of Sugar.

Detailed changes

Version 65

  • Refactored code base (possible non maintainer contributor)
  • Fixed #1
  • Fixed #3

Credits

  • Walter Bender and Raúl Gutiérrez Segalés
  • Especially helpful community feedback from Tony Forster and Bill Kerr