Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. 090-livecoding Doc

    ... ar width= 300, height= 300, wgrav; //--world ~win= RedWindow("livecoding test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.4, 0.98]; ~world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //-- ...

  2. 170-spring Doc

    ... ight= 300, w, world, wgrav, obj, trg, mp; //--world w= RedWindow("spring test", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.98]; world= RedWorld1(RedVector2D[width, height], wgrav, 30, 0.8); //dim,grav,maxvel,d ...

  3. PopUpTreeMenu Doc

    ... ouseY Apperance . bounds Get or set the position and dimension of the menu as a Rect . . font Get or set the Font . . hiliteColor Get or set the selection color. . icon Get or set the String used as branch indicator. By default this is "▶" ...

  4. 132-obstacle_rocks_synth Doc

    ... an2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("rocks pinball test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 15, 0.5); //dim,grav,ma ...

  5. NearestN Doc

    ... os = [0.5,0.5]; ~nearests = [0,1,2]; ); ( w = Window.new("points of proximity", Rect(100, 100, ~size, ~size)).front; w.drawHook = { var thesize, y; Pen.color = Color.white; Pen.fillRect(Rect(0, 0, ~size, ~size)); x.do{|ax, index| y = 1 - ax ...

  6. RedSmooth Doc

    ... lt= RedSmooth(0.1, 0.5); var number, slider, plot, fifo; number= NumberBox(win, Rect(10, 10, 90, 20)); number.value= flt.factor; number.decimals= 3; number.action= {|view| view.value= view.value.max(0); flt.factor= view.value; }; StaticText ...

  7. red00 Doc

    ... /redFrik 2012 ( var width= 640, height= 360, num= 200; var win= Window("red00", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physic ...

  8. red01 Doc

    //redFrik 2012 ( var width= 640, height= 360, num= 10; var win= Window("red01", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physic ...

  9. 017-repulsive3 Doc

    ... w, world, acc, vel, loc, rep, n= 200; //--world w= RedWindow("repulsive test3", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height]); //dim,grav,maxvel,damp //--objects rep= RedObject(world, RedVector2D[width*0.5 ...

  10. SCNSObject Doc

    ... ts in one Array. Example: Cocoa: NSWindow *c = [[NSWindow alloc] initWithContentRect: rect styleMask: 10 backing: 2 defer:YES]; SC: c = SCNSObject("NSWindow", "initWithContentRect:styleMask:backing:defer:",[Rect(0,0,400,100), 10, 2, 1]); De ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow