Remove OSC example

This commit is contained in:
Francisco Demartino 2020-04-12 21:46:26 -03:00
parent 5a1b84b221
commit 61b08cbe5b

View File

@ -1,21 +0,0 @@
; send OSC msg to port:49162, at "/a"
(def disc
(circle frame:c frame:m 200))
;
(defn on-animate
()
(
(clear)
(fill disc "#72dec2")
(set disc "r"
(clamp
(mul disc:r 0.95) 0 200))))
;
(defn on-osc
(msg)
(
(echo msg)
(set disc "r" 200)))
; triggers
(on "animate" on-animate)
(on "/a" on-osc)