Skip to main content

CSC 151.01, Class 16: Making and Manipulating Lists of Drawings

Overview

  • Preliminaries
    • Notes and news
    • Upcoming work
    • Extra credit
    • PSA
    • Questions
  • Quiz
  • Lab

News / Etc.

  • Continue partners!
  • I will go through a few issues quickly before the quiz.
  • You will likely need to finish today’s lab on your own, but I will be happy to answer questions about the lab via email or at the start of class on Monday.

Rotating reminders

  • Suggest extra credit! Send me extra credit ideas and opportunities. (Yes, this is a good way to get credit for some of the things you’re already planning to do.)

Upcoming Work

Extra credit (Academic/Artistic)

  • CS Table, Tuesday at noon, 21 Feb 2017. Net neutrality. Reading packets should be available outside Curtsinger’s office or Orsera’s office.
  • New Thursday extras, Thursday, 16 Feb 2017, 4:15 p.m., Science 3821: The Future of MathLAN
  • New Met Opera Live in HD showing of Rusalka, Saturday, Feb. 25. Talk 11:30-noon, opera noon-3pmish.
  • New Prazak Quartet, Tuesday, 28 February 2017, 7:30 p.m., Herrick.

Extra credit (Peer)

  • Friday-Saturday-Sunday, 17th-19th, Swimming and diving conference championships. (You can only get credit for two of the three days; staying for an hour counts.)
  • Saturday the 18th, Symphony Concert. 2-4 p.m. Sound painting and more! In Sebring-Lewis.
  • Art house print making and cookie decorating event. Saturday February 18th, 1-3PM on JRC 227.
  • Pun Club Saturday at 4pm in the Secret Younker 1st Floor Lounge Location. (You only get credit for this once.) (Moderation in all things.)

Good things to do

  • Women’s basketball (Senior day) next Saturday at 1pm.
  • Men’s basketball (Senior day) next Saturday at 3pm.
  • Slavic coffee house, Saturday, 5:30-7:00 p.m. Bucksbaum Rotunda.
  • Grinnell Equestrian Club Drill Team bake sale, 20 February 2017, 11am-2pm and 4pm-9pm.

Less good things to do

  • NEW 24 hours of theatre, starting 8pm tonight. psm@grinnell.edu. Writers write tonight. Directors and actors attempt to put it together tomorrow.

Friday PSA

  • Plan and reflect.
  • Be moderate.
  • Get consent.

Questions

Questions on HW4

Do we really have to do eighteen-billion tests for each of the kinds of
shapes we can make?
No. Do a few tests for each kind of shape. Then do the large number of tests for one of the shapes

Questions in preparation for the quiz

Why do we see only a quarter circle?
Because we only render the part of the drawing that fits within the “image rectangle”?
How do I know what’s in the “image rectangle”?
The top-left of the image rectangle is (0,0). It has the width and height specified by drawing->image.
What happens if I scale the unit circle by 20?
You get a new circle centered at (0,0) with diameter 20.
What happens if I scale that new circle by 2?
You get a new circle centered at (0,0) with diameter 40.
Why does the “unit circle” have a diameter of 1?
Because Mathematicians got it wrong when they thought it had a radius of 1.
What does it mean when Gimp says that it has a “dying plugin”?
Sam’s code for coordinating Gimp and DrRacket is buggy.
What happens when you shift and then scale?
Scale scales every aspect of the drawing: width, height, position
Does horizontal scaling affect the vertical position?
It shouldn’t.
If ….
Maybe

Lab

  • Don’t forget to download the starting code (in the preliminaries).

Writeup

Write up exercise 2 from the lab on lists of drawings.

Send your solution to csc151-01-grader@grinnell.edu.

Title your email CSC 151.01 Writeup for Class 16 (YOUR FULL NAMES).