subject

A Winter Wonderland In this lab, we'll use OOP for graphics programming and add some interactivity to the application.
Your Classes
The Drawable Class
In this week's lecture we discussed how we can used object oriented programming concepts to make graphics applications more organized and easier to create. One of the things that we'll leverage is inheritance, polymorphism, and abstract base classes.
We have included drawable. py that contains an abstract base class called (shocker) Drawable
Interactivity
Finally, we'll allow the spacebar to toggle the animation. That is, the first time it is hit, all the snowflakes stop falling. The next time, they resume falling. Etc…
Extra Credit
For extra credit, when a Snowflake is spawned also assign it a maximum y value that is somewhere (randomly) between the start of the ground plane and the bottom of it. Then when a Snowflake hits its maximum y value, it no longer animates. This should make it look like the snow is sticking to the ground!
Scoring
The score for the assignment is determined as follows:
25 pts - Implemented and Demonstrated the Rectangle derived class
25 pts - Implemented and Demonstrated the Snowflake derived class<
35 pts - Create the basic animation correctly
15 pts - Spacebar correctly toggles animation

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
What is a distinguishing feature of today’s graphic application software?) graphic applications are used today on a variety of devices, including touch-screen kiosks and mobile phones.
Answers: 3
question
Computers and Technology, 23.06.2019 00:30
Which of the following would you find on a network
Answers: 3
question
Computers and Technology, 23.06.2019 01:10
Problem 1 - hashing we would like to use initials to locate an individual. for instance, mel should locate the person mark e. lehr. note: this is all upper case. generate a hash function for the above using the numbers on your telephone. you know, each letter has a number associated with it, so examine your telephone keypad. generate 512 random 3 letter initials and take statistics on a linked list array size 512 to hold this information report how many have no elements, 1 element, 2 elements, does this agree with the hashing statistics distribution?
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
You know the right answer?
A Winter Wonderland In this lab, we'll use OOP for graphics programming and add some interactivity...
Questions
question
Social Studies, 25.11.2021 14:00
Questions on the website: 13722363