generated from mwc/project_drawing
I created a program with in a grid layout of drawing varying weight and length of lines horizontal and vertical with one filled square and two filled rectangleswith primary colors, red, blue, yellow. - Somewhere I got stuck was trying to import square.py, drawing_fly, and animated_square.py. I wanted to add the typeface.py, so I copied grid.py, proof.py, typeface.py into project_drawing folder and modified the alphabet to read PIET MONDRIAN, but the proof.py blipped asking for a letter. I even tried to copy the letter A within the drawing.py, but it didn't work. Then I wanted to incorporate an animate at the end on the blue square. I added "from superturtle.animation import animate" and "from turtle import forward, right", the program ran fine until the end where the design disappeared and the blue square animate appeared only on the screen. I did a test that worked and reviewed the tile.py. - I did my research on this drawing project with several Piet Mondrian samples. I created a Unit 1_Project_Planning_Drawing.doc file. - I figured out from reviewing docs.python.org/3/library/turtle.html#module-turtle and codehs.com/documentation/new/python-turtle#docs-commands how to change the screen size, positioning the pen with setposition, and fill square and rectangles with color. I figured out how to speed up the drawing process without using --fast. - I defined a square with a for loop a few times instead of repeating the code. When I used the "for side in range(2)" when filling the two rectangles. - I am wondering how could I create squares and rectangles with varying weight lines on each side. How can I import and the text from typeface.py. How can I use the fly to go to the point instead of right/left(90) and forward(). I would like to learn how to streamline drawing.py. I know it can be done. Duplicating horizontal and vertical lines with varying weights. Using proper coding when importing from other python files, add animation, creating a defined rectangle(width, length) with a for-loop and using x y cordinates to draw multiple squares and rectanges that are adjacent to each other with different color fills. Also, I want to learn how to draw lines from edge to edge of the screen, vertically and horizontally. - My idea for a future project would be to create a more complex version of a Mondrian layout such as Composition with Large Red Plane, Yellow, Black, Gray, and Blue, 1921 or Broadway Boogie-Woogie, 1926. |
||
---|---|---|
__pycache__ | ||
.DS_Store | ||
.commit_template | ||
animated_square.py | ||
drawing.py | ||
drawing_fly.py | ||
poetry.lock | ||
pyproject.toml | ||
testing.py |