In our Computer Science Principles class, students explored the concept of "functions"—blocks of organized, reusable code that execute only when it is called.
To visualize how functions work, students used a Python graphics library to create unique drawings, such as landscapes, doodles, or abstract art. Each element in their artwork was tied to a custom function that they created. For instance, a "mountain" function could be used repeatedly to draw mountains throughout their scenes.
This project not only reinforced the effectiveness of functions in programming, but also allowed students to express creativity in their own unique way. The students did a great job creating amazing drawings that demonstrated both their coding skills and artistic creativity!