Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ist; var makeLine, makeDots, dotColors; plotWindow = Window("Timeline", bounds: Rect(700, 500, width: 800 , height: 120), scroll: true).front; plotUserView = UserView(plotWindow , plotWindow.view.bounds); plotWindow.view.keyDownAction = { a ...

  2. SC2DTabletSlider Help

    ... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. Accessing Instance and Class Variables mouseDown (x, y, pressure, tiltx, tilty, deviceID, buttonNumber, clickCount, a ...

  3. SmoothScrollView Quark

    ... ew", bounds).front; resize = 5; bounds = (bounds ?? {(parent.asView.bounds)}).asRect.moveTo(0,0); bounds !? { bounds = bounds.insetBy(2) }; }; ^super.new.init( parent, bounds, resize); } init { |parent, bounds, inResize| var sliderSpace; sl ...

  4. 016-repulsive2 Doc

    ... ht= 300, w, wgrav, world, n= 10, rep; //--world w= RedWindow("repulsive test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.1]; world= RedWorld(RedVector2D[width, height], wgrav, 5); //dim,grav,maxvel,damp //--objects rep= ...

  5. 016-repulsive2 Quark

    ... ht= 300, w, wgrav, world, n= 10, rep; //--world w= RedWindow("repulsive test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.1]; world= RedWorld(RedVector2D[width, height], wgrav, 5); //dim,grav,maxvel,damp //--objects rep= ...

  6. CactusGUI Quark

    ... ntSize = 11; marginTop = 3; } createMainWindow { var winWidth, winHeight, windowRect; winWidth = 256; winHeight = 330; windowRect = Rect( GUI.window.screenBounds.width-winWidth*0.5, GUI.window.screenBounds.height*0.5, winWidth, winHeight); ...

  7. XiiEventRecorder Quark

    /* w = Window.new("w", Rect(10,10, 600, 600)).front; a = XiiEventRecorder(s, 1, w); // next to do: instead of diskin, make an array of small buffers // buffer recording starts when onset detected and stopped when off. then put into array. S ...

  8. 020-friction Doc

    ... w, world, acc, vel, loc, obj, fric, ff; //--world w= RedWindow("friction test", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height], 0, 30, 0.8); //dim,grav,maxvel,damp //--objects acc= RedVector2D[0, 0]; vel= Re ...

  9. 020-friction Quark

    ... w, world, acc, vel, loc, obj, fric, ff; //--world w= RedWindow("friction test", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height], 0, 30, 0.8); //dim,grav,maxvel,damp //--objects acc= RedVector2D[0, 0]; vel= Re ...

  10. HrADC Quark

    ... queID, argExtraArgs, argCanvasXY| var numIns = 0; var numOuts = 2; var bounds = Rect((Window.screenBounds.width - 350).rand, rrand(50, Window.screenBounds.height), 350, 50); var name = "HrADC"; ^super.new(argParentApp, name, argIdent, argUn ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow