Contents

1 Introduction
2 Install XLOGO
 2.1 XLOGO Configuration
  2.1.1 Linux Environment
  2.1.2 Windows Environment
 2.2 XLOGO Updates
 2.3 Uninstall
3 Interface features:
 3.1 First run
 3.2 The main window
 3.3 The procedure editor
 3.4 Quit XLOGO
4 Menu options:
 4.1 “File” Menu
 4.2 “Edit” Menu
 4.3 “Tools” Menu
 4.4 “Help” Menu
5 Conventions adopted by XLOGO
 5.1 Commands and their interpretation
 5.2 Procedures
 5.3 Specific character \
 5.4 Case-sensitivity
 5.5 Operators and syntax
6 Basic primitives
 6.1 New primitives
 6.2 Drawing a regular polygon
  6.2.1 Square
  6.2.2 Equilatéral triangle
  6.2.3 Hexagon
  6.2.4 Drawing a regual polygon in general
 6.3 Saving a procedure
 6.4 Exercice ...
7 Using coordinates
 7.1 Presentation
 7.2 Exercice:
8 Variables
 8.1 Examples
 8.2 Drawing a rectangle with chosen dimension
 8.3 Drawing at different scales
 8.4 Exercice:
9 Recursion
 9.1 With drawing area.
  9.1.1 First example:
  9.1.2 Second example:
 9.2 With the text zone
  9.2.1 First example:
  9.2.2 Breakout test
 9.3 A fractal example: Van Koch snowflake
 9.4 Recursion with words
 9.5 Calculate a factorial
 9.6 π Approximation
10 Create an animation
 10.1 Calculator’s numbers
  10.1.1 Filling a rectangular
  10.1.2 The program
  10.1.3 Creating an animation
 10.2 Second animation: The growing man
11 Interact with the user
 11.1 Question-answer
 11.2 Programming a little game.
12 Topic: Two dice sum
 12.1 Simulating rolling one die.
 12.2 The program
13 Topic: Probabilistic approximation of π
 13.1 GCD (Greatest Common Divisor)
 13.2 Euclidean algorithm
 13.3 Calculate a GCD in LOGO programming
 13.4 Calculating π-approximation
 13.5 More complex: π generating π.....
14 Topic: Menger’s sponge
 14.1 Using recursion
 14.2 Second approach: Drawing a Menger sponge, order 4
  14.2.1 Sierpinski carpet
  14.2.2 Drawing a Sierpinski carpet of order p
  14.2.3 All Different possible schemas for columns
  14.2.4 The program
  14.2.5 Menger’s sponge order 4
15 Topic: Lindenmayer system
 15.1 Formal definition
 15.2 Turtle interpretation
  15.2.1 Usual Symbols
  15.2.2 Van Snowflake
  15.2.3 Quadratic Van Koch curve
  15.2.4 Dragon curve
  15.2.5 Hilbert 3D curve
A List of primitives
 A.1 Movement of the turtle; pen and color settings
  A.1.1 A word on colors
  A.1.2 Animation Mode
  A.1.3 Writing in the text area with the primitive print or write
 A.2 Turtle and 3D
  A.2.1 The perspective projection
  A.2.2 Understanding orientation in a 3D World
  A.2.3 Primitives available in 2D mode and 3D mode
  A.2.4 3D Viewer
  A.2.5 Drawing a cube
  A.2.6 Lighting the scene
  A.2.7 Fog effect
 A.3 Arithmetical and logical operations
 A.4 Operations on lists
 A.5 Booleans
 A.6 Testing an expression with the primitive if
 A.7 The workspace
  A.7.1 Procedures
  A.7.2 Concept of variables
  A.7.3 Property Lists
 A.8 Advanced fill function:
  A.8.1 fill and fillzone
  A.8.2 Primitive fillpolygon
 A.9 Break commands
 A.10 Multiturtle Mode
 A.11 Play music
  A.11.1 Playing music using MIDI synthetizer
  A.11.2 Playing MP3
 A.12 Loops:
  A.12.1 A loop with repeat
  A.12.2 A loop with for
  A.12.3 A loop with while
  A.12.4 A loop with foreach
  A.12.5 A loop with forever
  A.12.6 A loop with repetewhile
  A.12.7 A loop with repeatuntil
 A.13 Receiving input from the user
  A.13.1 Interact with the keyboard
  A.13.2 Some examples of usage:
  A.13.3 Interact with the mouse
  A.13.4 Some examples of usage:
  A.13.5 Graphical components
 A.14 Time and date
 A.15 Using a network with XLogo
  A.15.1 The network How to
  A.15.2 Primitives for networking
B Launching XLOGO with command line
C Executing Xlogo from the WEB
 C.1 The problem
 C.2 How to create the jnlp file
D Solutions
 D.1 Chapitre 5
 D.2 Chapter 6
 D.3 Chapter 7
  D.3.1 the robot
  D.3.2 The frog
 D.4 Chapter 9:
E FAQ - Tricks Things to know
 E.1 Though I erase a procedure from the editor, it keeps on popping back!
 E.2 I’m using the version in Esperanto but I can’t write with the special characters!
 E.3 In the Sound tab from the Preferences dialogue box, no instrument can be found.
 E.4 How to quickly retype a command used previously?
 E.5 How can you help?