CS152, Fall 2020

Computer Programming Fundamentals
Home
Schedule
Syllabus
Style Guidelines

Assignment 2: First Programming Assignment
Due: Monday August, 31st by 9:30am

Description

Create an interactive art work that expresses something about you. It could, for example, showcase your personal style, say something about where you grew up, tell a story, or communicate something about your UNM experience.

Here are a few ideas of things you could create, to help get you started:
  • An interactive logo or drawing of your name
  • A NM landscape
  • A drawing of the ABQ skyline
  • A self-portrait
  • A fabric pattern
  • A drawing of a favorite cartoon character

Requirements

Your project should include all of the elements below.

  • The art work should be at least 500 pixels by 500 pixels. The dimensions can vary depending upon your design, but make sure that it is not "small".
  • Use each of the following drawing primitives at least once: line(), rect(), ellipse(), quad(). You are welcome to use additional drawing features too.
  • Use at least 5 different colors. You may use these in many different places including: the background, stroke colors, and fill colors.
  • Use at least 3 different stroke weights, using the strokeWeight() function.
  • Include your name in your program using the text() function.
  • The program should be interactive. That is, it should repond to user input in some way. You can use one or more of the Mouse and Keybord functions to accomplish this.
  • Include at least one conditional statement, i.e. an if() statement, that changes what is drawn on the screen.
  • Include the appropriate source code header.
  • Carefully read and follow the course Style Guidelines.
  • Your program should be personal and expressive. You are encouraged to use many different drawing primitives in creative ways. An extra 5 points will be awarded to particularly well crafted and creative submissions.

What to Hand in:

  1. Your program. Upload your Processing .pde file to Learn
  2. A paragraph about your project. In Learn, also submit a paragraph about the program, its inspiration, and how you designed and implemented it. Include a brief discussion about your experience working on this assignment.

Assignment on Learn