Difference between revisions of "Interact Assignment"
Jump to navigation
Jump to search
(Created page with "=Racket Libraries= [https://docs.racket-lang.org/teachpack/2htdpimage.html Image] [https://docs.racket-lang.org/teachpack/2htdpuniverse.html Worlds and the Universe] =Code To...") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
=Racket Libraries= | =Racket Libraries= | ||
| − | [https://docs.racket-lang.org/teachpack/2htdpimage.html Image] | + | ==[https://docs.racket-lang.org/teachpack/2htdpimage.html Image]== |
| + | |||
| + | ==[https://docs.racket-lang.org/teachpack/2htdpuniverse.html Worlds and the Universe]== | ||
| + | [https://docs.racket-lang.org/teachpack/2htdpuniverse.html#%28form._world._%28%28lib._2htdp%2Funiverse..rkt%29._big-bang%29%29 big-bang] | ||
| − | |||
=Code To Investigate= | =Code To Investigate= | ||
{{RacketToInvestigate|follow_mouse|interact_examples}} | {{RacketToInvestigate|follow_mouse|interact_examples}} | ||
| Line 10: | Line 12: | ||
=Code To Implement= | =Code To Implement= | ||
{{RacketToImplement|interact|tick<br/>draw<br/>mouse|interact}} | {{RacketToImplement|interact|tick<br/>draw<br/>mouse|interact}} | ||
| + | ==state== | ||
| + | ==tick== | ||
| + | ==draw== | ||
| + | ==mouse== | ||
Latest revision as of 03:12, 31 October 2022
Contents
Racket Libraries
Image
Worlds and the Universe
Code To Investigate
| file: | src/main/racket/interact_examples/follow_mouse.rkt |
| file: | src/main/racket/interact_examples/press_and_drag_rectangle.rkt |
Code To Implement
| file: | src/main/racket/interact/interact.rkt | |
| functions: | tick draw mouse |