Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. Boids2D Quark

    ... distance (Ballerini, M et al. "Interaction ruling animal collective behavior depends on topological rather than metric distance: Evidence from a field study" (2008)) [neighbors[j].at(\pos), neighbors[j].at(\vel)]; }; nearestNeighbors = nea ...

  2. GMMultiButton Quark

    ... ; }; }); newStates.do({ |item| if(item.includesKey(\svg)) { item[\img] = Image.openSVG(item[\svg]); item[\svgSize] = Point( item[\img].width, item[\img].height ); }; }); thisStates = newStates; thisCurrentState = 0; this.prResizeSVGs; } sta ...

  3. README Quark

    ... xample * 200131 - added lsystem grow example * 180226 - added linked and double pendulum examples * 180103 - unified RedWindow and removed RedJWindow and RedQWindow. checked and updated all examples (mostly formatting). new markdown readme ...

  4. gui_example_userview Quark

    //gui example with userview / pen graphics ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999), initAction: ...

  5. 061-angents-gol_synth Quark

    ... n= x position \beat, (1-(o.loc[1]/height)*400) //freq= y position ); //--render Pen.fillColor= Color.grey(o.state[\cell]*0.85+0.15, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths. ...

  6. sLauncher Quark

    ... nstrument..."), GridLayout.rows( *images.collect{|x| UserView().drawFunc_{|usr| Pen.stringAtPoint(x.key.asString.drop(1), 50@50, Font(SGUI.font.name, 64))} .setBackgroundImage(x.value, 10).mouseUpAction_{SInstruments.toFront(x.key.asString) ...

  7. GAPmatch Quark

    ... ); var xCoords = (numCycle * 2).collect({|cnt| cnt * xApart; }) + (xApart / 2); Pen.color = argFColor.value; Pen.width = rrand(0.4, 0.6); xCoords.do ({|coord| Pen.addArc(coord@(argBounds.height / 2), xApart / 2, *angs[curAng]); curAng = 1 - ...

  8. UChainGUI Quark

    ... ; udefController.remove; if( chain.isKindOf( MassEditUChain ) ) { chain.removeDependantFromChains( massEditController ); }; this.removeFromAll; if( composite == vw && { current == this } ) { current = nil } }; // startbutton views[ \startBu ...

  9. InfluxGuis2 Quark

    ... Ins = numItems[0]; var numOuts = numItems[1]; var font = Font("Monaco", 10); // Pen.font_(Font("", 12)); zone.resize_(5); nameView = StaticText(zone, Rect(0,0, 50, 20)) .font_(font).string_("weights"); inNameView = UserView(zone, Rect(0,0, ...

  10. InfluxGuis2 Quark

    ... Ins = numItems[0]; var numOuts = numItems[1]; var font = Font("Monaco", 10); // Pen.font_(Font("", 12)); zone.resize_(5); nameView = StaticText(zone, Rect(0,0, 50, 20)) .font_(font).string_("weights"); inNameView = UserView(zone, Rect(0,0, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow