×

zbMATH — the first resource for mathematics

On the implementation of Logo in LATEX. (Russian. English summary) Zbl 1434.68631
Summary: Recently in publications for preparation of high-quality images are increasingly used freely distributed graphical TikZ package [T. Tantau, TikZ and PGF packages. Manual for Version 3.0 (2013), http://www.ctan.org/pkg/pgf], which became an integral part of the scientific and technical publishing system TeX/LaTeX. It’s library turtle implemented one of the versions elegant programming language high level Logo, developed in [Revolution in consciousness. Children, computers and productive ideas (Russian). Moskva: Pedagogika (1967)] by S. A. Papert and is based on recursion.
The version of the Logo, provided by the package turtle, this is just one of about 250 different implementations of the language. But, with a minimum of resources, this version is very easy to use and allows you to programmatically from the comfort of LATEX, easily supports simple technical drawing. About the version of the Logo provided by the library tirtle package TikZ, and is discussed in this article. Here is described not only all means of this version, but also demonstrated their use on illustrative examples.
Note that the Logo this is not just a language, but a bunch of language and integrated development environment, allowing to give the simplicity and clarity to the process of teaching programming. In the standard version of the Logo has executor of the commands that can be moved point turtle around the screen forward on a specified number of steps and change the direction of its motion. This turtle when moving can leave a mark on the screen in the form of line segments describing these or other shapes, or move, without leaving a trace. A set of commands that are understood by the executor turtle, and is the basis of language Logo, which had in its simplicity a revolutionary impact on the start learning programming. To understand Logo in the state of children of primary school and even pre-school age. According to the conclusions of dissertational work Idit Harel, in developing the design of the program, thinking on how best to structure and present information, the student is much deeper begins to understand the content of the task that lies at the base of the program.
Note two important circumstances. In tirtle-implementation Logo change of direction turtle can occur at any angle to the current direction of its movement, and to move the turtle besides the standard commands can be used and the typical structure of a cycle setminus foreach.
MSC:
68U15 Computing methodologies for text processing; mathematical typography
Keywords:
TeX; LaTeX; tikZ; Logo
Software:
LaTeX; TikZ; LOGO; pgf
PDF BibTeX Cite
Full Text: MNR
References:
[1] Peipert S., Perevorot v soznanii. Deti, kompyutery i plodotvornye idei, Pedagogika, M., 1989, 224 pp.
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. It attempts to reflect the references listed in the original paper as accurately as possible without claiming the completeness or perfect precision of the matching.