# First Forward Into Logo 2: Polygons

This is the second in a twelve part introduction to Logo for beginners. In this part you learn to draw polygons.

## Problem

First Forward Into Logo**Previous**: FF1

This article focuses on drawing regular polygons; equilateral triangles, squares, pentagons, hexagons etc. It's very easy. Here is a reminder of some of the PRIMITIVES (the commands) needed to start drawing:

FD forward

BK backward

LT left

RT right

PU pen up

PD pen down

HT hide turtle

ST show turtle

CS clear screen

CT clear text

Here is an example of the use of REPEAT. Try it!

REPEAT 5 [FD 30 RT 72]

Now try REPEAT 3 and REPEAT 4 etc and vary the distances and the angles.

Away you go!**Next**: FF3

## Getting Started

To draw a regular polygon you will need to work out the exterior angle, but that is simple because to end up facing the same way as at the start you must turn a total of 360 degrees.

## Teachers' Resources

Programs used in this series were written using MSWLogo and you can download this excellent free software from the internet at http://www.softronix.com/logo.html . This series complements the LOGO Challenges that can also be found on the site.