diff --git a/collects/teachpack/htdp/Docs/world.thtml b/collects/teachpack/htdp/Docs/world.thtml index 7c3820c6c5..a2dbcff825 100644 --- a/collects/teachpack/htdp/Docs/world.thtml +++ b/collects/teachpack/htdp/Docs/world.thtml @@ -4,7 +4,7 @@

The teachpack provides two kinds of functions. The first five allow students to simulate a small world of animated drawings and games:

-
  • {(idx run-simulation)} : Nat Nat Number [Nat -> Image] -> true
    +
  • {(idx run-simulation)} : Nat Nat Number [Nat -> Scene] -> true
    (run-simulation width height r create-image) creates and shows a width x height canvas, starts a clock, ticking every r (usually fractional) seconds, @@ -28,11 +28,17 @@ students to simulate a small world of animated drawings and games:

    -

    - The Stop button on the frame allows users to stop the clock - and thus the simulation. It also enables the Images button, - which then allows users to create images of all the steps taken since the - beginning of time. +

    The teachpack assumes two basic kinds of data: +

  • {(idx big-bang)} : Nat Nat Number World -> true
    @@ -114,7 +120,7 @@ students to simulate a small world of animated drawings and games: (empty-scene width height) creates a width x height "scene" (frame with origin in NW) -
  • {(idx place-image)} : Image Number Number Scence -> Scene
    +
  • {(idx place-image)} : Image Number Number Scene -> Scene
    (place-image image x y scene) places image at (x,y) into scene; (x,y) are comp. graph. coordinates