[Fluxus] wait?
David Griffiths
dave at pawfal.org
Fri Jan 7 01:12:30 PST 2011
On Fri, 2011-01-07 at 09:45 +0100, Kassen wrote:
> One thing I doubt though is "sleep" as a solution; at least I wasn't
> able to get that to work as I expected and "sleep" seemed to delay
> both execution and rendering. I'm not sure about that take on the
> issue.
This isn't the way I'd recommend doing it but:
(thread (lambda () (sleep 10) (printf "hello~n")))
(every-frame
(with-state
(rotate (vector (* 45 (time)) 0 0))
(draw-cube)))
cheers,
dave
More information about the Fluxus
mailing list