Functional Problem Solving (CSC 151 2014F) : EBoards
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Rubric] - [Calendar]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Readings]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2014S)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
Overview
What should I do when hsv->rgb complains about rational numbers?
You need an integer for the angle.
What about angles of 360 degrees?
It fails miserably. And for once, it's not my fault.
image-get-pixel if you are unsure
as to whether you've achieved goals.Here's the pattern I'd expect you to use for problem 3
(define whatever
(lambda (width height)
(image-compute!
(lambda (col row)
(FORMULA))
width height)))