3 Fun Coding Projects for Pi Day
Pi Day! Time for eating pie and celebrating an infinite decimal number. But why should we care about this number, and why do we use it as an excuse to consume extra sugar?
“Pi” is what we call the mathematical symbol π which represents 3.14, the approximate ratio between a circle’s diameter and its circumference. It’s actually an “infinite decimal,” which means the numbers go on forever after the decimal point. If you divide a circle’s circumference by its diameter, you will always get Pi, no matter the size of the circle–that’s why Pi is such a cool number! In 1988, American physicist Larry Shaw decided it deserved a party: The first Pi Day celebration started out with pie-eating among the museum staff at San Francisco’s Exploratorium, where Shaw worked, but eventually grew into a large community event. In 2009 it become a nationally recognized holiday.
1. Block Coding Project
Intermediate coders will combine creativity with problem-solving skills to code this project, while reinforcing their understanding of coding concepts like variables, string handling, loops, and math.
2. Python Coding Project
Advanced coders will strengthen their knowledge of functions, variables, loops, and Python syntax, and will put these concepts to use to make an artistic project.
How to Code These Projects
All registered Tynker users have access to these three projects in their student dashboard. Simply click on any of the three project cards and follow the instructions to get started! If you do not have an account, you can sign up for a FREE account here and access many fun coding puzzles, games, and tutorials.
Teachers, to assign this project to your students, please follow the instructions below:
- Set up a classroom in your Tynker account and add your students.
- Click on the “Lessons” tab in your classroom dashboard.
- The project will be available under “Weekly/Special” Projects – click the “Assign to Class” button.
After your class has finished, don’t forget to create a showcase of all your students’ projects to share with friends and parents!
Parents, to give this project to your child:
- Have your child log into his/her account.
- They can find Pi Day Art in their student dashboard!
Past Pi Day Projects
Ready for more Pi Day fun? Check out these other Pi Day projects!
Bake the Perfect Pi! Celebrate by baking and frosting a virtual pie in the shape of the Pi symbol! Can you figure out how to bake a different kind of pie or add an ice cream layer using code?
What is Pi This Pi project demonstrates the relationship between a circle’s circumference and diameter!