CPSC 110 Lecture Notes - Lecture 5: Radius

69 views4 pages
ferrari12 and 39375 others unlocked
CPSC 110 Full Course Notes
23
CPSC 110 Full Course Notes
Verified Note
23 documents

Document Summary

;; spider is number (not exactly correct because you want a whole number not a decimal pixel. ;; spider is integer ; in case spider is above the screen, negative. ;; interp. y position of spider in screen coordinates. By the time you get around calling (main 1), main and everything else it calls is already there. Check-expect can gather them all until it gets to the end and then it does them. Min is a function that takes 2 numbers and produces the smaller of the two. ; design a world program in which a spider starts at the top of the screen. The spider should stop when it reaches the bottom. ; you can improve your spider by re-running the htdw recipe to add these features. ; - draw a line from the top of the screen to the spider, this is the thread. You will need to use add-line for this.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents