Skip to content

Instantly share code, notes, and snippets.

@kn0ll
Created February 1, 2013 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kn0ll/4689486 to your computer and use it in GitHub Desktop.
Save kn0ll/4689486 to your computer and use it in GitHub Desktop.
a demo osc gui using various backbone/osc components i've written.
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
@kn0ll
Copy link
Author

kn0ll commented Feb 1, 2013

creates 2 sliders which send their values as osc messages.

what it looks like

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment