Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ont; (startGeneration-1).do{lsys.next}; commands= ( $F: {|length, theta, noise| Pen.line(Point(0, 0), Point(0, length)); Pen.stroke; Pen.translate(0, length); {Pen.translate(0, 0-length)}; }, $G: {|length, theta, noise| Pen.translate(0, len ...

  2. openbci_gui_fftplot_with_neurofeedback-8ch+coherence 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 //adapted by khofstadter to calculate same bandwith on a ...

  3. DiamondSlider : custom unidimensionnal slider GUI. by simon (Dindoléon) Code

    ... )); synth = {arg freq=110; SinOsc.ar(freq!2)}.play; slider.drawFunc = { Pen.width = stroke_size; Pen.strokeColor = Color.white; Pen.fillColor = Color.black; Pen.addRect(Rect(0,0, slider.bounds.width,slider.bounds.height)); ...

  4. UChainEventView Quark

    ... { innerRect = scaledRect.insetBy(0.5,0.5); //selected outline if( selected ) { Pen.width = 2; Pen.color = Color.grey(0.2); this.drawShape(scaledRect); Pen.stroke; }; //event is playing if( event.isPlaying ) { Pen.width = 3; Pen.color = Col ...

  5. UChainEventView Quark

    ... { innerRect = scaledRect.insetBy(0.5,0.5); //selected outline if( selected ) { Pen.width = 2; Pen.color = Color.grey(0.2); this.drawShape(scaledRect); Pen.stroke; }; //event is playing if( event.isPlaying ) { Pen.width = 3; Pen.color = Col ...

  6. StickView Quark

    ... ) * 1.1); //curve var rhoToLength = bentRho * ((headRadius * 0.6) - halfWidth); Pen.push; Pen.translate(halfWidth, halfWidth); // background circle Pen.strokeColor = midGrey; Pen.width = fieldSize * 0.15; Pen.addOval(Rect.aboutPoint(Point(0 ...

  7. StickView Quark

    ... ) * 1.1); //curve var rhoToLength = bentRho * ((headRadius * 0.6) - halfWidth); Pen.push; Pen.translate(halfWidth, halfWidth); // background circle Pen.strokeColor = midGrey; Pen.width = fieldSize * 0.15; Pen.addOval(Rect.aboutPoint(Point(0 ...

  8. XiiDrawer Quark

    ... y| all = all.add(tmppoints.copy); tmppoints = []; v.refresh; }) .drawFunc_{|me| Pen.use { //Color.white.set; Pen.color = Color.white; Pen.fillRect(me.bounds.moveTo(0,0)); Pen.width = 1; Pen.color = Color.black; //Color.black.set; Pen.beginP ...

  9. SETOgui Quark

    ... strokeColor = Color.gray(0); var textColor = Color.gray(0.4); var extent = 40; Pen.strokeColor = Color.black; Pen.addRect(Rect(0, 0, me.bounds.width, me.bounds.height)); Pen.stroke; tServer.visibleObjs.do{|obj| Pen.use{ Pen.translate( obj. ...

  10. WindowHandleView Quark

    ... wBorder { var b, w, h; b = this.bounds.moveTo(0, 0); w = b.width; h = b.height; Pen.strokeColor = Color.grey(0.1, 0.3); Pen.line(0@h, 0@0); Pen.line(0@0, w@0); Pen.stroke(); Pen.strokeColor = Color.grey(0.5, 0.2); Pen.line(w@0, w@h); Pen.li ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow