Difference between revisions of "Interact Assignment"

From CSE425S Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
[https://docs.racket-lang.org/teachpack/2htdpuniverse.html Worlds and the Universe]
 
[https://docs.racket-lang.org/teachpack/2htdpuniverse.html Worlds and the Universe]
 
=Code To Investigate=
 
=Code To Investigate=
{{RacketToInvestigate|interact_examples|follow_mouse}}
+
{{RacketToInvestigate|follow_mouse|interact_examples}}
  
{{RacketToInvestigate|interact_examples|press_and_drag_rectangle}}
+
{{RacketToInvestigate|press_and_drag_rectangle|interact_examples}}
  
 
=Code To Implement=
 
=Code To Implement=
 
{{RacketToImplement|interact|tick<br/>draw<br/>mouse|interact}}
 
{{RacketToImplement|interact|tick<br/>draw<br/>mouse|interact}}

Revision as of 03:10, 31 October 2022

Racket Libraries

Image

Worlds and the Universe

Code To Investigate

file: src/main/racket/interact_examples/follow_mouse.rkt Racket-logo.svg
file: src/main/racket/interact_examples/press_and_drag_rectangle.rkt Racket-logo.svg

Code To Implement

file: src/main/racket/interact/interact.rkt Racket-logo.svg
functions: tick
draw
mouse