Happy Winter Solstice!
This year, in the spirit of the winter holidays (and in lieu of holiday cards), I thought I’d share a few digital snowflakes created with Turtle Graphics. Turtle Graphics is a Python module (a file full of handy code you can import and use in your programs) that can be used to create interesting shapes and pictures.
A wee bit of code:
And voila! It’s starting to feel more like winter already. The first snowflake (below, left) was created using the code above. And with a few simple tweeks, endless combinations!
Check out the interactive edition of How to Think Like a Computer Scientist for more instruction on Turtle Graphics and learning Python. I started working through the book a couple of weeks ago in preparation for my next big coding adventure, Hackbright Academy (thrilled to start in t-minus 4 weeks), and I’m hooked!
Wishing you all a wonderful holiday season. Cheers to longer days from here on out.