Difference between revisions of "Interact Assignment"

From CSE425S Wiki
Jump to navigation Jump to search
 
(2 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|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}}
 +
==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