Created
February 1, 2013 05:29
-
-
Save kn0ll/4689486 to your computer and use it in GitHub Desktop.
a demo osc gui using various backbone/osc components i've written.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require [ | |
'zepto', | |
'osc/client', | |
'gui/range' | |
], ($, OscClient, RangeView) -> | |
osc_client = new OscClient | |
bar_view = new RangeView | |
model: osc_client | |
property: '/foo/bar' | |
baz_view = new RangeView | |
model: osc_client | |
property: '/foo/baz' | |
$ -> | |
$('body').append bar_view.render().el | |
$('body').append baz_view.render().el |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
creates 2 sliders which send their values as osc messages.