Draw a snowflake using code. via raspberry.org
Draw snowflakes with code using Python Turtle. This is great fun and a great way to start learning how to code with Python. In this resource you will learn how to use a sequence of instructions to make shapes, how to use loops to repeat instructions, and how to store information in variables.
WHAT YOU WILL NEED
A Raspberry Pi with an SD card loaded with Raspbian
How to draw with Python Turtle
How to turn with Python Turtle
Using loops to create shapes
Creating spiral patterns
Changing the pen colour randomly
Using a function to draw a snowflake
(Optional) Final version of Python code snowflake.py
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Maker Business — How Authority and Decision-Making Differ Across Cultures
Wearables — Perform operation
Electronics — Soldering Pointer!
Biohacking — Stretchable EEG Temporary Tattoos
No comments yet.
Sorry, the comment form is closed at this time.