This assignment does not count toward the final grade.
Project #2: Painting (after FOR loops)
- Due No Due Date
- Points 15
- Submitting a file upload
JR's work on making the WCB programmable with Python, along with Eleanore's picture, made it onto the WCB blog! https://www.evilmadscientist.com/2017/using-the-watercolorbot-to-teach-programming/ Links to an external site.. JR also wrote a blog post about the process: http://jrheard.com/blog-staging/watercolorbot.html Links to an external site..
START HERE: install the Python library for the Watercolor Bot
You should only need to do this once, as long as you stay at the same computer.
-
Click the Start button (lower left Windows icon), then type cmd and hit enter to open the command line.
- Type pip install --user madison_wcb and hit enter
→ If you need to UPDATE, type pip install --user --upgrade madison_wcb instead
- Exit the command line window
-
Go to the documentation page for the Watercolor Bot library and skim through it.
http://madison-wcb.readthedocs.io/en/latest/
Links to an external site. -
Links to an external site.Go to the example program and read through it. What is important to include at the beginning and end of your code?
http://madison-wcb.readthedocs.io/en/latest/quickstart.html#how-to-draw-stuff-on-your-computer-screen Links to an external site.
Links to an external site. -
Go to the commands documentation page and read through the familiarize yourself with them - if you did the WCB painting last year in Snap, they should look familiar.
http://madison-wcb.readthedocs.io/en/latest/madison_wcb.html Links to an external site.
-
Open IDLE and try making some art using the commands (maybe use example program). Don't forget to initialize and end the program!
- When you run the program, it should open a 500x360 drawing window. The horizontal limits are -250 to 250, and the vertical limits are -180 to 180. This is basically proportional to the WCB's horizontal and vertical limits for an 11" x 8.5" piece of paper.
OPTION 1: make a painting
Here are some guidelines:
-
Start with an inspiration picture (turn in your inspiration picture before you start coding). This can be a famous work of art, anime, graffiti, a photo, your own art...you name it.
- Now code your version of the inspiration picture. It does not have to match exactly, but we should be able to tell that your painting is inspired by the picture.
- When you are ready to try painting your art, turn in your .py file and let me know.
OPTION 2: update a text adventure game or make your own!
Here is JR's text adventure game Download text adventure game. Feel free to modify it to make it you. See Ms. O'Malley if you have any questions.
Rubric
Please include a title
Keep in mind that 28 students have already been assessed using this rubric. Changing it will affect their evaluations.
Criteria | Ratings | Pts |
---|---|---|
Uses a non-trivial FOR loop
threshold:
pts
|
pts
--
|
|
Code is well commented
threshold:
pts
|
pts
--
|
|
Variable names are descriptive
threshold:
pts
|
pts
--
|
|
Code is complex
threshold:
pts
|
pts
--
|
|
Quality of painting
threshold:
pts
|
pts
--
|