CS 100
Assignment 3
functions & interaction

Due Monday April 28th, at 10:00 P.M.
*** Bring your PLAN to the lab on April 21st. ***

Use the Processing language/environment to develop a program that creates a composition. The composition should include an animation and keyboard/mouse interactions; the implementation should use functions.
Design a composition that

Plan and design a composition on paper: you must submit this plan at the start of the lab on Monday April 21st.

I encourage you to model your composition on a painting, a poster or a photograph. Simplify it, but not too much. Cite the work of art or image that inspired you in your source code header as a comment.

Your Processing program translates this plan to code.


Your program should have the following properties. In term of code style the following is required. For extra credits

20% of the evaluation is based on the quality and complexity of the composition created by your code.


Create a zip file

You should replace username with yours (mine is efourque).

Upload the zip file on Moodle using the Assignment 3 link and in the comment box you should respond to the following three questions.

  1. Describe each animation you created: for each the variable update that changes which element of the scene.
  2. Include which key press restarts the animation: a particular key or any (other than 'p').
  3. Describe the mouse interaction you implemented: how does it change the scene.
  4. Are all the requirements completed? If no, list the missing ones.
  5. Did you do extra feature(s)? If yes, give short description(s).
  6. Are you giving me the permission to post your png picture on the course gallery?
    If yes, how do you want your name and the picture title to appear.
    (Blanks --anonymous/untitled-- are possible choices.)