[Fluxus] tasks

gabor papp gabor.lists at mndl.hu
Sun Jul 19 10:00:40 PDT 2009


>> 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




More information about the Fluxus mailing list