bring code to old state, make consistent with docs, Closes PR 13642 again
This commit is contained in:
parent
b78982fe6a
commit
ab663b4833
|
@ -327,7 +327,7 @@
|
||||||
[hgt (image-height fst)])
|
[hgt (image-height fst)])
|
||||||
(big-bang
|
(big-bang
|
||||||
m*
|
m*
|
||||||
(on-tick rest (/ 1 r))
|
(on-tick rest r)
|
||||||
(on-draw (lambda (m) (if (empty? m) (text "The End" 22 'red) (first m))))
|
(on-draw (lambda (m) (if (empty? m) (text "The End" 22 'red) (first m))))
|
||||||
(stop-when empty?))))
|
(stop-when empty?))))
|
||||||
|
|
||||||
|
|
|
@ -127,8 +127,8 @@ Example:
|
||||||
@defproc[(run-movie [r (and/c real? positive?)] [m [Listof image?]])
|
@defproc[(run-movie [r (and/c real? positive?)] [m [Listof image?]])
|
||||||
true]{
|
true]{
|
||||||
|
|
||||||
@racket[run-movie] displays the list of images @racket[m] at the rate of
|
@racket[run-movie] displays the list of images @racket[m], spending
|
||||||
@racket[r] images per second.}
|
@racket[r] seconds per image.}
|
||||||
|
|
||||||
|
|
||||||
@;-----------------------------------------------------------------------------
|
@;-----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user