Wednesday
Workshop room
16:20 - 17:20
(UTC+02)
Workshop (60 min)
Part 1/2: Fun with F# and turtle geometry
Turtle geometry is made from the viewpoint of a small turtle walking on an infinitely sized sheet of paper, leaving a trace where it walks. The turtle's movements can be controlled by a small set of commands, like "move forward" and "turn right".
In this workshop you will learn basic functional programming with F#, while creating geometry. We will explore algebraic data types, lists, functions and recursion, all to make the turtle move. We will make polygons, fractals and space filling curves, and look into some mathematical properties of these geometric shapes. You can choose to concentrate on the F# tasks at hand, or you can allow yourself to be distracted by the beautiful geometry, and continue to explore different variants of the shapes.
The geometry in the workshop is based on the first chapters of the classical book "Turtle geometry" by Abelson and diSessa.
Bring your laptop, and if you want to come prepared, check out the “Getting started” section at https://github.com/heidisu/turtle-geometry.
No previous experience with turtles or F# is required.
