Save this video free

Lecture 5: Shapes!

Professor Rosen · 59:40 · Watch on YouTube

Part of Temple University CIS 1051. See all 23 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

A Python turtle graphics lesson builds from drawing equilateral triangles, squares, and octagons to using for loops and variables to generalize regular polygons. It then approximates circles with many short turtle movements, deriving each segment from the circumference formula 2πr, and applies turtle positioning, stamping, and pen controls to lab tasks such as a clock, initials, a Triforce, and Olympic rings.

Key takeaways

Chapters

0:00 Course Setup, Module 3, and Python Import Pitfalls
4:00 Turtle Setup, Forward Movement, and Turning
11:00 Why Triangle Turns Use Exterior Angles
14:00 Drawing an Equilateral Triangle with Turtle Commands
18:00 Drawing a Square and Recognizing Repeated Code
24:00 Python for Loops with range() and Indentation
31:00 Generalizing Regular Polygons with Side Count and Turn Angle
35:00 Approximating a Circle with Many Polygon Sides
40:00 Calculating Circle Segment Length from 2πr
47:00 Turtle Pen Controls and Lab Assignment Guidance
54:00 Drawing Olympic Rings and Handling Overlaps for Extra Credit

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Uh so today is a particularly fun day because we get to go over shapes. Uh this is going to be a um a bit silly at first because you know the math we're doing is basically going to be um you know elementary school level for a bit and then we're going to jump into something that definitely feels a high school more high school level. Um but the project we are going to be working on today is right here in canvas. So what we'll do again for what you need to do this each week is that we go over here we select um the the module three which is right now we're learning about how to really

0:47 import stuff and just as a reminder with these videos. Okay. Um, these are embedded playlists, but for some reason they don't show the playlist anymore. So, the easy thing to do is just hit watch on YouTube. Um, really it doesn't show up the that anymore. Okay. I guess watch it in the browser right there and then you can hit next and it'll go to the next video in the playlist. >> Let's go ahead. So, um, >> one of the things >> also again, um, over here in this playlist is actually the video that has the most, >> uh, con it, I think it has the most views of of anything on my channel, which I find very funny because it's not

1:34 people from Temple who are necessarily looking this up. It is, um, 8.2,000 views, which is not that many. All this is is just basically um a very common issue that students have or beginners have, which is when you accidentally name um a program the name of the thing you're trying to import. This I'm not

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Professor Rosen.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.