Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2329) Code (180) Doc (734) Help (210) Quark (1189) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. 092-livecoding-worlds Doc

    ... ar width= 300, height= 300, wgrav; ~n= 8; //--world RedUniverse.clear; ~win= RedWindow("livecoding worlds test", Rect(128, 164, width, height)).front; ~world= RedWorld.new; //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, he ...

  2. 092-livecoding-worlds Quark

    ... ar width= 300, height= 300, wgrav; ~n= 8; //--world RedUniverse.clear; ~win= RedWindow("livecoding worlds test", Rect(128, 164, width, height)).front; ~world= RedWorld.new; //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, he ...

  3. UMarkerGUI Quark

    ... r %\n".postf( chain.displayColor.class ); }; } { views[ \colorEditor ].view.findWindow.front; }; }; }) .keyDownAction_({ |vw, a,b,cx| if( cx == 127 ) { chain.displayColor = nil }; }) .beginDragAction_({ chain.displayColor }) .canReceiveDrag ...

  4. TabbedView Quark

    ... me,scroll) returns a TabbedView object parent a parent view. if nil, then a new window is created bounds Rect . if nil then the parent Rect is used labels an array of strings. determines how many tabs there are. default ["tab1", "tab2", "ta ...

  5. AutoRand Quark

    /* make a little Rand button that auto-moves a controller. ( w = Window("autorand").front; w.addFlowLayout; e = EZSlider(w, 300@20, \freq, \freq); AutoRand(e, e.controlSpec, 0.2).makeButton(w, Rect(0,0,20,20)); f = EZSlider(w, 300@20, \freq ...

  6. ModKey Quark

    ... will be stored inside. ModKey ( 1179648 ); // -> ModKey( \cmd, \shift ) ( w = SCWindow ().front; a = SCUserView (w, 400@400 ); a.mouseDownAction = { |v, x, y, m| ModKey ( m ).postln; }; ) // click inside the window with and without modifier ...

  7. 4_flatcat4_viz Quark

    ... NTMI.flatcat.drawFunc.value; NTMI.g.main.imuUV.animate_(true); // or in its own window: WinBounds.showOrMake(\flatcatViz); ////////////// from tail to head, motors are 2, 1, 0 segments are 3, 2, 1, 0 segments are 12, 6, 6, 10.5 long joints ...

  8. EnvelopeView Doc

    ... Examples Use as envelope view ( // use shift-click to keep a node selected w = Window("envelope", Rect(150, Window.screenBounds.height - 250, 250, 100)).front; w.view.decorator = FlowLayout(w.view.bounds); b = EnvelopeView(w, Rect(0, 0, 23 ...

  9. 12-Groups Doc

    ... rver's node tree. You should have seen something like the following in the post window when executing the example above: nodes on localhost: a Server Group(0) Group(1) Group(1000) Group(1001) Synth 1002 ⧉ ✔ When you see a Group printed here ...

  10. Simple Harmonic Motion by rukano (rukano) Code

    ... = 0; ~ctranspose = 0; ) ( var n = 7*2; var w = 1024, h = 600; var win = Window("", Rect(100, 100, w, h)).front; var uv = UserView(win, win.view.bounds); var sinFunc = { |i, periode=2pi| sin((i/n)*periode) }; var lastValues = { 0 ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow