Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... w(0.0001, 1, inf); c = a.asStream.nextN(500); // plot the values c.plot(bounds: Rect(10, 10, 520, 380), discrete: true, parent: w); // a histogram of the values c.histo(500).plot(bounds: Rect(10, 410, 520, 380), parent: w); ) // sound examp ...

  2. ClockFace Quark

    ... ; }, { mod = newMod; }) } digitalGUI { window = GUI.window.new("Digital Clock", Rect(10, 250, 450, 110)).front; timeString = GUI.staticText.new(window, Rect(0, 0, 430, 100)) .string_(cursecs.asTimeString) .font_(Font("Arial", 40)); window.o ...

  3. Confetti2 by henk-lasschuit (Henk Lasschuit) Code

    ... =0; ~hhighest=0; ~vlowest = 16; ~hlowest = 16; z=40; w=Window("Confetti2", Rect(400, 300, z*~maxIndex, z*~maxIndex)).front; w.view.background_(Color.white); w.front; //function for drawing array on screen t={ w.drawHook = { ...

  4. RedGIFImage Doc

    ... It is only a helper class for RedGIF . Class Methods . new Arguments: bounds A Rect . flags An Integer . Inherited class methods Instance Methods . bounds Image dimensions as a Rect . . flags Semi-private image settings. Use the methods -d ...

  5. test polygon inside detection Quark

    ... tate(2pi*i/n) }; ~point = 0.5@0.5; w = ScaledUserView.window( "WFSSpeakerConf", Rect( 128, 64, 400, 400 ), Rect.aboutPoint( 0@0, 2, 2 ); ); w.keepRatio = true; w.drawFunc = { var fader, crossfades, lines; Pen.addArc( ~point.asPoint * (1 @ - ...

  6. SimpleController Doc

    ... at, moreArgs| view.value_(theChanger.value); }); view = Slider(Window("slider", Rect(100, 100, 330, 38)).front, Rect(5, 5, 320, 20)); view.onClose_{ controller.remove }; // run a routine to change the model's value: r{ 100.do{ model.value_( ...

  7. BoxPatchingMatrix Quark

    ... ; box = this.getBox(dp); draggingXY = x@y; b = this.getBounds(dp); outletArea = Rect.newSides( b.left, b.bottom - ioHeight, b.right,b.bottom); if(outletArea.containsPoint(x@y),{ outlets = box['outlets'] ? []; if(outlets.size > 0,{ outlet = ...

  8. WsStaticText 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) ...

  9. Poussière : standalone dust generator (uncommented version of luce) by simon (Dindoléon) Code

    ... 1); Out.ar(out, Pan2.ar(snd, 0, amp)); }).play; win = Window("Poussière", Rect(0, 0, window_size[0], window_size[1]), false); win.background_( frame_color ); slider = UserView( win, Rect( margin, margin, window_size[0] - ( margin * ...

  10. ActionQMenu Quark

    ... rgItems,dAction,gAction,argUseDefaultFont, showArrow, noButton| bounds=bounds.asRect; name=nm; defaultAction=dAction?{}; globalAction=gAction?{}; useDefaultFont=argUseDefaultFont; arrowColor = Color.grey(0.5); noButton.booleanValue.not.if{t ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow