This repository contains projects that use Python's turtle module to create graphical representations of colorful patterns. These projects were developed as solutions to competition tasks in the field of Computer Science for Polish children.
-
Dywan i Żółw (Carpet and Turtle)
- File:
Dywan i żółw.py - Description: This project creates a colorful pattern resembling a carpet with red rectangles and green arrows, utilizing Python classes and decorators.
- Author: Tomasz Nehring
- File:
-
Mozaika (Mosaic)
- File:
Mozaika.py - Description: This project creates a colorful mosaic pattern with green and yellow squares, using various functions and decorators.
- Author: Tomasz Nehring
- File:
- Python 3.x
turtlemodule (usually included with Python's standard library)
- Setup: Ensure you have Python installed on your system.
- Run: Execute the
Dywan i żółw.pyscript to see the pattern being drawn. - Exit: Close the window or click to exit the turtle graphics screen.
- Setup: Ensure you have Python installed on your system.
- Run: Execute the
Mozaika.pyscript to see the mosaic pattern being drawn. - Exit: Close the window or click to exit the turtle graphics screen.
- Draws a colorful pattern with red rectangles and green arrows.
- Utilizes Python classes and decorators to manage drawing procedures.
- Continuous rotation of a turtle shape at the center.
- Draws a colorful mosaic pattern with green and yellow squares.
- Utilizes Python decorators to manage drawing procedures.
- Customizable mosaic size and pattern density.
Both algorithms are solutions to competition tasks in the field of Computer Science for Polish children.
Tomasz Nehring