Functional Problem Solving (CSC 151 2015S) : EBoards
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Taking Notes] [Rubric] - [Calendar]
Current: [Assignment] [EBoard am] [EBoard pm] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards am] [EBoards pm] [Labs] [Outlines] [Readings] - [Examples] [Handouts]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2014F)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Book Office Hours] - [Issue Tracker (Course)]
Overview
Remember:
Why use
(image-set-pixel! canvas 0 0
(irgb-darker (image-get-pixel canvas 0 0)))
rather than
(image-transform-pixel! canvas 0 0 irgb-darker)
Because we can shift pixels
(image-set-pixel! canvas 2 3
(irgb-darker (image-get-pixel canvas 3 2)))
Or change images
(image-set-pixel! canvas 2 3
(irgb-darker (image-get-pixel savnac 3 2)))
Why are
(irgb-complement (irgb-darker fave1))
and
(irgb-darker (irgb-complement fave1))
different?