[fluxus] editor retraction
nik gaffney
nik at fo.am
Sun Jun 26 09:53:24 PDT 2005
hello,.
with this quick hack, its possible to send scheme functions to fluxus using
osc.,.
(define (osc-repl)
(eval-string (osc-peek)))
(start-osc "88008")
(every-frame "(osc-repl)")
something like the following would have the expected effect
% sendOSC -h 127.0.0.1 88008 '(build-sphere 12 12)'
however -> every-frame sounds a bit excessive, so the obvious alternative
looks like engine-callback, but this always gives me an 'Unbound
variable:engine-callback' error ,. ..
seems that another advantage of using an engine-callback would be being able
to do something apart from listening fr osc commands every-frame. or is
there another way to register more than 1 function to get called each frame?
.. ,. until then ill keep myself distracted with a scheme-mode-hook
tethered around http://delysid.org/emacs/osc.el
bzpx
nik
More information about the Fluxus
mailing list