Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... , e, b; n = "John" ; d = Document ( "chat" ).background_( Color .rand).bounds_( Rect (30, 10, 400, 200)); e = Document ( "chat-write" ).background_( Color .rand).bounds_( Rect (30, 210, 400, 50)); a = LocalClient .default.start; b = Client ...

  2. UAbstractWindow Quark

    ... nd, margin, gap| var font = Font( Font.defaultSansFace, 11 ); bounds = bounds ? Rect(230 + 20.rand2, 230 + 20.rand2, 680, 300); window = Window(title, bounds).front; window.onClose_(onClose); window.toFrontAction_({ this.class.changed(\acti ...

  3. PatchGui Quark

    ... args; model.performList(\guiBody,args); } writeName {} } /* GUI.dragSink.new(vl,Rect(0,0,argNameWidth,15)) .stringColor_(model.specAt(i).color).background_(model.specAt(i).background) //.background_(Color( 0.47843137254902, 0.72941176470588 ...

  4. PatchGui Quark

    ... gs; model.performList(\guiBody, args); } writeName {} } /* GUI.dragSink.new(vl, Rect(0, 0, argNameWidth, 15)) .stringColor_(model.specAt(i).color).background_(model.specAt(i).background) //.background_(Color( 0.47843137254902, 0.72941176470 ...

  5. DataFFT Quark

    ... \hanning, { Signal.hanningWindow(fftSize2+2).copyToEnd(fftSize2.div(2)+1); }, \rect, { Signal.rectWindow(fftSize2+2).copyToEnd(fftSize2.div(2)+1); }, \welch, { Signal.welchWindow(fftSize2+2).copyToEnd(fftSize2.div(2)+1); }, { Signal.fftCos ...

  6. LSPlant Quark

    ... itHeading.notNil, { 360 - argInitHeading; }, { 0 }); winBounds = argWinBounds ? Rect(300, 300, 500, 500); headingStack = List[initHeading]; drawSize = 8; colorFunc = argColor ? Color.white; willDraw = false; penDown = false; speed = 200; wi ...

  7. 175-springs_interconnected2 Quark

    ... .ar(z, pan)); }).add; s.sync; //--world w= RedWindow("springs interconnected2", Rect(128, 64, width, height), false).front; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 999, 0); //dim,grav ...

  8. WFSMultiPath Quark

    ... s { ^[] } forceTimes { // todo } length { ^paths.collect(_.length).maxItem; } asRect { ^if( paths.size > 0 ) { paths.collect(_.asRect).reduce(\union); } { Rect(0,0,0,0); } } name { ^"" } name_ { } type { ^\bspline } type_ { } curve { ^1 } c ...

  9. CCResponder Quark

    ... ne, tb, ve; var oneShot; var source = ~source; l = layout ?? {PageLayout("CC", Rect(0, 0, 500, 600))}; tb = ToggleButton(l, "Learn", { oneShot = CCResponder({ |port, chan, num, value| source.matchEvent = MIDIEvent(nil, port, chan, num, nil ...

  10. startMenu Quark

    ( //--settings var prefName= "startMenuPref.json"; var winRect= Rect(1, Window.availableBounds.height, 240, 320); //x, y, w, h //--functions and objects var keyFunc; var keyLookup= (); var prefDict; var themes= SGUI.themes.keys.asArray.sort ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow