can someone please post an example of using tasks?
(define (anim)
    (with-state
        (rotate (vector (* 90 (time)) 0 0))
        (draw-cube)))

(spawn-task anim 'my-task)

;------
when you have this running, you can type (ls-tasks) in the repl, which displays the running tasks. you can remove your task by typing (rm-task 'my-task).

gabor

Reply via email to