Learn programming 26: Make patterns by rotating objects
- Title:
- Learn programming 26: Make patterns by rotating objects
- Description:
-
more » « less
After many episodes moving things up, down, left and right, we introduce rotation. The rotate() function allows us to create rectangles that are not horizontal or vertical. If we make many of them using a while loop, we can create interesting patterns. For now we only rotate things around the top left corner of the screen. In future episodes we will discover how we can rotate objects around their own center (like when a CD or the wheels of a car spin). The smooth() function makes the lines smoother, which you will notice a lot when you rotate rectangles.
- Video Language:
- English
- Duration:
- 08:52
lfz edited English subtitles for Learn programming 26: Make patterns by rotating objects | ||
lfz added a translation | ||
Somebody (possibly automatically) added a video: Learn programming 26: Make patterns by rotating objects |