Difference between revisions of "Interact Assignment"

From CSE425S Wiki
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]
  
[https://docs.racket-lang.org/teachpack/2htdpuniverse.html Worlds and the Universe]
 
 
=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

Racket Libraries

Image

Worlds and the Universe

big-bang

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

state

tick

draw

mouse