Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nteractionRect.width) { crossHalfSize = super.interactionRect.height * 0.33; }; Pen.width_(crossHalfSize * 0.5); super.drawFrame(super.backgroundColor); Pen.moveTo( Point( this.bounds.width / 2 - crossHalfSize, this.bounds.height / 2 - cros ...

  2. openbci_gui_fftplot Quark

    //port of OpenBCI_GUI fft plot widget, remake in supercollider by f.olofsson 2019 //MIT License, Copyright (c) 2018 OpenBCI, https://github.com/OpenBCI/OpenBCI_GUI/blob/master/LICENSE //TODO test with ganglion and daisy //TODO (in)activate ...

  3. XixiPredator Quark

    ... 230, 230-energy); } draw { if(point.y-10 < stageRect.height, { ^{ var rot; GUI.pen.use({ if ( GUI.id == \cocoa, { Pen.setShadow(1@2, 10, Color.black) }); GUI.pen.color = Color.black; GUI.pen.width = 1; GUI.pen.translate(point.x, point.y); ...

  4. GMCurveEnvView Quark

    ... , numer, y; var color = super.mainColor.deepCopy; color.alpha = thisShapeAlpha; Pen.moveTo( Point( 0, 0.linlin( thisYMin, thisYMax, super.interactionRect.bottom, super.interactionRect.top ); ) ); Pen.lineTo(positions[0]); (positions.size - ...

  5. openbci_gui_bandpower Quark

    //port of OpenBCI_GUI band power widget, remake in supercollider by f.olofsson 2019 //MIT License, Copyright (c) 2018 OpenBCI, https://github.com/OpenBCI/OpenBCI_GUI/blob/master/LICENSE //TODO test with ganglion and daisy ( var activeChanne ...

  6. 170-spring Quark

    ... length obj.addForce(world.gravity); obj.update; world.contain(obj); //--render Pen.strokeColor= Color.grey; Pen.line(obj.loc.asPoint, trg.loc.asPoint); Pen.stroke; Pen.fillColor= Color.red; Pen.fillOval(Rect.aboutRedObject2D(trg)); Pen.fil ...

  7. XiiAlert Quark

    ... 00, 400,170), resizable:false).front } ); win.drawHook = { // set the Color GUI.pen.color = Color.new255(255, 100, 0); GUI.pen.width = 3; GUI.pen.translate(28,28); GUI.pen.scale(1.6, 1.6); GUI.pen.moveTo(1@7); p.do({arg point; GUI.pen.lineT ...

  8. SplineGui Quark

    AbstractSplineGui : ObjectGui { var uv,pen,<>alpha=1.0; var <>color,<>crossHairsColor,<>textColor; var <>pointSize=3,<>font,<>showGrid=true; gui { arg parent,bounds,userView; if(userView.notNil,{ parent = userView.parent; bounds = bounds ?? ...

  9. GMRoundButton Quark

    ... hisSVGPath == "").not) { thisSVG.free; }; thisSVGPath = aPath; thisSVG = Image.openSVG(thisSVGPath); thisSVGSize = Point(thisSVG.width, thisSVG.height); this.resizeSVG; } resizeSVG { var buttonSize = min( super.interactionRect.width, super. ...

  10. gui_example_mindmirror Quark

    ... |b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999), initAction: {|b| b.start}); //var board= SyntheticData(initAction: {|b| b.start}); //synthetic test data //var board= Playb ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow