Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... pleaseWait; { var h,fb,f,w,val,space; window = f = GUI.window.new("::inspect::",Rect(440,500,1100,900)); f.view.background = Color.white; h = f.bounds.height - 50; w = f.bounds.width; menu = GUI.listView.new(f,Rect(3,0,200,h)); menu.font = ...

  2. spiral Quark

    ... c( \startCenter, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \startRadius, PointSpec( Rect(0,0,200,200), 0.1@0.1 ) ) .setSpec( \endCenter, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \endRadius, PointSpec( Rect(-200,-200,400,400), 0.1@0.1 ) );

  3. 054-boids_3d Quark

    ... w, wgrav, world, n= 60, s= 1, f= 0.25; //--world w= RedWindow("boids 3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.1, 0.1]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel, ...

  4. 120-collision_objects Quark

    ... , height= 300, w, wgrav, world, n= 20; //--world w= RedWindow("collision test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.6); //dim,grav ...

  5. HrStereoMixer Quark

    ... .isNil, { numIns = 4; }, { numIns = 2 * argExtraArgs[0].asInteger; }); bounds = Rect(200, 200, max(250, 50 + (20 * numIns)), 150); ^super.new(argParentApp, name, argIdent, argUniqueID, argExtraArgs, bounds, numIns, numOuts, argCanvasXY).ini ...

  6. 180-distance_lines Quark

    ... av, world, n= 50, minDist= 50, cnt= 0; //--world w= RedWindow("distance lines", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0.001]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.5); //dim,g ...

  7. ZPlane Quark

    ... the bottom right corner, the view can be magnified or de-magnified. Bounds is a Rect indicating the dimensions of the graphical interface. close If a Z-plane graph gui is open, close it. Examples // Creating a new instance of ZPlane. ( // C ...

  8. Automation Quark

    ... . 9) Click '||' to stop playing, if you wish. 10) Click '^', enter a writable directory and hit Return. (current slider recordings are saved to that directory) 11) Restart your computer ;) (just for illustration) 12) Relaunch below code, cl ...

  9. Turtle Quark

    ... indow .new.front ( w.drawHook = { Pen .use { t.stroke; Color .red.set; Pen .fillRect( Rect (100,100,4,4)); Color .green.set; Pen .fillRect( Rect (0,0,4,4)); } }; w.refresh; ) f = { |turtle, length = 100, depth = 1| if (depth <= 0, { turtle. ...

  10. sound_example_filters_and_scopeview Quark

    ... var width= 511, height= 800, scpsHeight= height-20; var win= Window("openbci", Rect(2, 100, width, height)).front; var scp= ScopeView(win, Rect(0, 0, width, scpsHeight)); StaticText(win, Rect(0, scpsHeight, 50, 20)).string_(""++binSize.rou ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow