---
title: 'Turning and looping'
part: 'Part I — First Stitches: the Turtle'
partNumber: 1
order: 3
subtitle: 'rt, lt, repeat, repcount, and the polygon formula'
---

_Content coming soon._

<Run>{`// A hexagon using the n-gon formula: repeat n [ fd s rt (360/n) ]
repeat 6 [ fd 20 rt 60 ]`}</Run>

<Checkpoint chapterId="ch-3">Chapter content coming soon.</Checkpoint>
