Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... /redFrik 2012 ( var width= 640, height= 360, num= 100; var win= Window("red03", 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 ...

  2. 220-lorenz_attractor Doc

    ... pth= 100, w, world, obj; var lorenz; //--world w= RedWindow("lorenz attractor", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; world= RedWorld(RedVector3D[width, height, depth], maxVel:1); obj= RedObject(world, RedVector3D[1, ...

  3. Modifiers Doc

    ... 1072 = 10616832 // this is the mask for shift arrow key Three usage examples, direct and with helper methods isCaps , isShift , isCtrl , isAlt , isCmd , isNumPad , isHelp , isFun : ( w = Window.new.front; w.addFlowLayout; // direct, using b ...

  4. SymbolicNotations Doc

    ... e a Point of two numbers x @ y // returns: Point(x, y) ⧉ ✔ point @ point make a Rect of two Point s Point(left, top) @ Point(right, bottom) // returns: Rect(left, top, right-left, bottom-top) ⧉ ✔ ugen @ ugen create a Point with two UGen s r ...

  5. WsPopUpMenu Doc

    ... this when using WsLayout. Arguments: wsWindow An instance of WsWindow bounds A Rect specifying the size of the widget. NOTE: Currently a relative measurement is used: 1 for full window width, 1 for full window height, e.g. Rect(0, 0, 1, 1) ...

  6. 034-wave-system Doc

    ... , wgrav, world, n= 50, sys, spook= 0; //--world w= RedWindow("wavesystem test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.2); //dim,grav,maxvel,damp //--system ...

  7. 201-discrete_world_ca_optimised Doc

    ... y= height/n, lookup; //--world w= RedWindow("discrete world - 2d ca optimised", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector[n, n]); //dim,grav,maxvel,damp //--objects {|x| {|y| var loc= RedVector[x, y]; RedAgent(world, l ...

  8. 036-wave-phase Doc

    ... peat 2pi/p*(width/n); }.dup(nWaves); //--world w= RedWindow("wave phase test2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0.004]; world= RedWorld(RedVector2D[width, height], wgrav, 5, 0.8); //dim, ...

  9. SV Doc

    ... | b.value_(y.value)}); // define custom gui properties conductor.gui.use{ ~popupRect = Rect(0,0,200, ~h); ~listRect = Rect(0,0,200, 400); }; // An SV is a CV whose value is an index into an associated array. // ~popup and ~listview display ...

  10. LayoutValueSlider Doc

    ... es // Placed in a window, using explicit parent and bounds ( w = Window("test", Rect.aboutPoint(Window.screenBounds.center, 100, 50)); v = LayoutValueSlider(w, Rect(2, 2, 150, 20), 0, [0, 1]); w.front; ) // 5 sliders, positioned by a master ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow