generated from mwc/project_drawing
My first commit will consist of my first milestone. Not necessarily what has been changed but what has been thought. My idea for this project was to create a house and a snowball but soon began to feel less confident with the ability to animate it. So then, I came to the conclusion that I will create a house and a rising sun for my project proposal.
Where I was first stuck was my idea for a project proposal. My original ideas seemed to be a bit more complicated as a first project and I thought of a simpler idea of creating a house and a rising sun. I figured out my project proposal. A strategy I used to get un-stuck was looking at simple project ideas and using my own environment to see what I can use as a simple project proposal. Something I wondered was "how can I get the sun to rise on one side and set on the other?". I soon decided to just keep the sun as a rising sun. What I want to learn more about is animating using code and a future idea for a project could be making a house with an animated sun rising on one side of the house and then setting on the other side of the house.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
My first commit will consist of my first milestone. Not necessarily what has been changed but what has been thought. My idea for this project was to create a house and a snowball but soon began to feel less confident with the ability to animate it. So then, I came to the conclusion that I will create a house and a rising sun for my project proposal.
|
||||
|
||||
Where I was first stuck was my idea for a project proposal. My original ideas seemed to be a bit more complicated as a first project and I thought of a simpler idea of creating a house and a rising sun. I figured out my project proposal. A strategy I used to get un-stuck was looking at simple project ideas and using my own environment to see what I can use as a simple project proposal. Something I wondered was "how can I get the sun to rise on one side and set on the other?". I soon decided to just keep the sun as a rising sun. What I want to learn more about is animating using code and a future idea for a project could be making a house with an animated sun rising on one side of the house and then setting on the other side of the house.
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Write your entire commit message above this line.
|
||||
|
||||
14
README.md
14
README.md
@@ -9,6 +9,8 @@ which allows basic formatting.
|
||||
|
||||
## Description
|
||||
|
||||
I will create an animation with a house and a sun rising from the bottom left to the top left. The house will have color and windows as well, there will also be a blue sky background and the sun will also be colored in.
|
||||
|
||||
(Describe your goal for this project. If you want to link to an
|
||||
image, move the image to this directory, and then use the following syntax:
|
||||
|
||||
@@ -19,3 +21,15 @@ image, move the image to this directory, and then use the following syntax:
|
||||
## Planning
|
||||
|
||||
(Include your planning here, including your project milestone.)
|
||||
|
||||
### Milestone 1
|
||||
|
||||
I want to write square(), rectangle(), triangle() and circle() functions for the house and sun as my project proposal is to create a house and a rising sun. My functions for the house will consist of a roof, body, and windows which will consist color from what I learned in previous lessons. I will also create a setup for my project where I have a blue background as my sky.
|
||||
|
||||
### Milestone 2
|
||||
|
||||
I want to ombine my functions to create a house and a sun with color. Then I want to create a function that will give my sun a rising movement which will create a rising sun. To do this I will create a drawing.py file where the movement of my sun will be stored.
|
||||
|
||||
### Milestone 3
|
||||
|
||||
I want to combine everything together and figure out what I need to create my house and rising sun. Once I have coded my house and the sun in shapes.py and drawing.py I should get a house with windows with a blue sky and a rising sun.
|
||||
|
||||
BIN
__pycache__/shapes.cpython-313.pyc
Normal file
BIN
__pycache__/shapes.cpython-313.pyc
Normal file
Binary file not shown.
22
drawing.py
22
drawing.py
@@ -5,3 +5,25 @@
|
||||
# (Briefly describe what this program does.)
|
||||
|
||||
from turtle import *
|
||||
|
||||
import turtle
|
||||
import time
|
||||
from shapes import draw_square, draw_triangle, draw_rectangle, draw_circle
|
||||
|
||||
# setup
|
||||
screen = turtle.Screen()
|
||||
screen.setup(width=800, height=600)
|
||||
screen.bgcolor("skyblue")
|
||||
screen.tracer(0)
|
||||
|
||||
pen = turtle.Turtle()
|
||||
pen.speed(0)
|
||||
pen.hideturtle()
|
||||
|
||||
|
||||
def draw_house():
|
||||
|
||||
|
||||
|
||||
def animate_sun():
|
||||
|
||||
|
||||
Reference in New Issue
Block a user