Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... w, wgrav, world, obj, ploc, s= 1, f= 0.1; //--world w= RedWindow("pendulum 3d", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0, 0]; world= RedWorld(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel,damp w. ...

  2. BoxMatrix Quark

    ... xes = Dictionary.new; handlers = IdentityDictionary.new; bounds = argbounds ?? {Rect(20, 20, min(numCols * 100,1000), numRows * skin.buttonHeight)}; bounds = bounds.asRect; // cargo-culted from thor <- best code comment ever bounds = Rect(b ...

  3. DorotaFFTSelector Quark

    ... init { |s| settings = s ? DorotaAnalysisSettings.new; ^this; } build { |parent, rect, statusRect| var fftValues, currentFFT, currentIndex; fftValues = [4096, 8192, 16384]; currentFFT = settings.getFFT; currentIndex = fftValues.indexOf(curre ...

  4. 043-pendulum-render Quark

    ... ht= 480, w, wgrav, world, n= 50, ploc; //--world w= RedWindow("pendulum test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objec ...

  5. SETOJuggling Quark

    ... = false; var rotAcc2Ground; var homogeneMatAcc2Ground; *initClass { regions = [ Rect(0,0,0.5,0.5), Rect(0.5,0,0.5,0.5), Rect(0,0.5,0.5,0.5), Rect(0.5,0.5,0.5,0.5) ]; } process { var newRegion = regions.detectIndex{|reg| reg.containsPoint(po ...

  6. 046-pendulum5 Quark

    ... 0, height= 480, w, wgrav, world, ypos; //--world w= RedWindow("pendulum test5", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.001); //dim,gra ...

  7. VGTagGui Quark

    ... .background_(colPal[1]); comp.decorator = FlowLayout(comp.bounds); Button(comp, Rect(0,0, viewWidth, 20)) .font_(font) .states_([[title, Color.black, colPal[0]]]) .action_({ event.postcs; this.openDoc; }) .resize_(2); comp.decorator.nextLin ...

  8. 001-single Quark

    ... 300, height= 300, w, wgrav, world, n= 1; //--world w= RedWindow("vector test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.4, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,gra ...

  9. 042-pendulum3 Quark

    ... t= 300, w, wgrav, world, n= 100, ploc; //--world w= RedWindow("pendulum test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0); //dim,grav,maxvel,damp //--objects { ...

  10. HelpDoc Quark

    ... s(name, segments); } makeGUI { // ... var window = Window(name ? "Untitled 01", Rect(40, 40, 510, 400)); window.addFlowLayout; Button(window, Rect(0, 0, 60, 30)).states_([["post doc"]]).action_({ this.makeDoc }); Button(window, Rect(0, 0, 6 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow