Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions htdp-doc/teachpack/2htdp/scribblings/universe.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -2034,3 +2034,15 @@ Finally, here is the third function, which renders the state as an image:
@bold{Exercise} Design a function that takes care of a world to which the
universe has lost its connection. Is @emph{Result} the proper contract for
the result of this function?

@section[#:tag "universe-extra"]{Extra Features in Racket}

This section documents features of the universe teachpack not available in
the HtDP student languages.

@defparam[universe-inset inset-width (integer-in 0 1000)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the named constant instead of 1000.

#:value 5]{
A @tech[#:doc '(lib "scribblings/guide/guide.scrbl")]{parameter} that controls
the visual inset of the window displayed by @racket[animate] or @racket[big-bang].
The inset usually appears as a white border.
}