Docs Subscribe
◆ Swift Playgrounds Curriculum

Geometry,
through code.

A six-chapter curriculum that teaches geometry concepts using Swift — from drawing simple shapes to building a complete suburban scene — with Maths connections throughout.

Requires Swift Playgrounds 4 on iPad or Mac

Geometry Playground running in Swift Playgrounds on iPad

Getting started

How to Get Started

Getting the playground onto your device takes under a minute.
Here's how it works.

1

Install Swift Playgrounds

Download Swift Playgrounds 4 for free from the App Store on iPad or Mac. It's the app you'll use to open and run all the code in this curriculum.

2

Tap Subscribe

Press the Subscribe in Swift Playgrounds button on this page. It opens a deep link (developer.apple.com/ul/sp0) that registers this feed directly in the app.

3

Open your library

The Geometry Playground appears in your Subscriptions section inside Swift Playgrounds. Tap it once to download the full playground file.

4

Stay up to date

Swift Playgrounds checks the feed periodically. When a new version is published a badge appears — tap once to update. No re-subscribing needed.

Subscribe in Swift Playgrounds

The curriculum

Six chapters. One complete picture.

Each chapter builds on the last — introducing a new programming concept alongside the geometry it makes possible.

Getting Started — Chapter 01 of Geometry Playground
Chapter 01

Getting Started

Meet the Pen API and learn to draw squares, rectangles, triangles, and stars using coordinates and angles.

10 sections2 tutorials8 exercises
Chapter 02
Chapter 02

Fancy Shapes

Introduce multiple pens, colours, fill, and variables to draw diamonds, crosses, snowflakes and more.

21 sections3 tutorials18 exercises
Chapter 03
Chapter 03

Doing Stuff Again

Harness the power of loops to draw polygons, spirals, and stars with far less repetitive code.

9 sections1 tutorial8 exercises
Chapter 04
Chapter 04

Testing & Classifying

Use conditionals and Boolean logic to classify shapes — triangles, quadrilaterals, and angles — by their properties.

9 sections2 tutorials7 exercises
Chapter 05
Chapter 05

Tell It How

Write reusable functions with parameters to draw flags from around the world and complex geometric compositions.

21 sections2 tutorials19 exercises
Chapter 06
Chapter 06

Suburban Scene

Combine everything you have learned to build a complete neighbourhood scene from individual geometric components.

10 sections1 tutorial9 exercises

About

About the Developer

Daniel Budd

Daniel Budd

Apple Distinguished Educator · Apple Professional Learning Specialist
School-Wide Technology Team Leader, Hong Kong International School

Daniel is an Apple Professional Learning Specialist and Apple Distinguished Educator from Perth, Western Australia. At Hong Kong International School he spearheaded the design and development of an inclusive, modern Computer Science program by integrating it into the NCAS Media Arts Standards.

A strong advocate for the pedagogical integration of technology, Daniel focuses on the transformative potential of STEM education, robotics, and the evolving role of AI in shaping teaching and learning. As a speaker, author, and international educator, he has written extensively on coding, app development, and the impact of emerging technologies on education.

Daniel has delivered keynotes and workshops across Australia, South-East Asia, China, and the USA — inspiring educators worldwide to embrace innovation in their teaching practice.