LibreLogo

From Wikipedia, the free encyclopedia
Jump to: navigation, search
LibreLogo
LibreLogo Turtle graphics.png
LibreLogo extension showing Turtle graphics
Original author(s) László Németh
András Tímár
Initial release 27 June 2012 (2012-06-27)
Stable release 0.2 / November 7, 2012 (2012-11-07)
Written in Python-PyUNO
Available in English, Hungarian
Type Software extension
License GPL, LGPL v2.1 and MPL v1.1
Website extensions.libreoffice.org/extension-center/librelogo

LibreLogo is a vector graphics language, a Logo-Python programming environment with interactive turtle vector graphics for education and desktop publishing. It is also an extension for LibreOffice.[1]

Logo toolbar and interpreter has been programmed by László Németh, and help in integration has been provided by András Tímár.[2]

The lightweight implementation (1400 lines in Python-PyUNO) uses the embedded Python to give a simplified programming interface to the vector graphics of LibreOffice for graphic design and education (including teaching of word processing).[2]

Versions[edit]

Version Release date Release notes
0.1 2012-06-27 Fixes for Windows and localized decimal sign.[3]
0.2 RC 2 2012-11-07 Faster command line (also with multiline tooltip), randomized colors (eg. fillcolor “~orange”), bug fixes.[4]

Version 0.1 is compatible with LibreOffice 3.3.4, but requires LibreOffice to be restarted before the tool bar is visible. It is not compatible with LibreOffice 4.4.2.

Hello world example[edit]

The syntax of LibreLogo is similar to UCBLogo. It supports the ¨word syntax for strings as well as the 'word' notation. Importantly LibreLogo supports recursion.

Commands are entered into the toolbar, or picked up from the Writer page. Here is a Hello World! example.

circle 10cm
fillcolor 'blue' pencolor 'red' pensize 2 circle 5cm
forward 200 right 89 circle 5
repeat 88 [ forward 200 right 89 ] fill
repeat 9 [ label 'Hello, World!' right 20 ]
repeat 100 [ penup position any pendown pensize random 10 fillcolor any square 20 + random 100 ]

Gallery[edit]

See also[edit]

References[edit]

Bibliography[edit]

Berlin 2012 Libre Office Conference

External links[edit]