Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1062) Code (117) Doc (215) Help (68) Quark (660) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. ChordtrisPreferenceDialog Quark

    ... ).front; vLayoutView = VLayoutView(window, Rect(0,0,width,height)); window.view.background_(Color.grey(0.8)); this.displayPreferenceControls(vLayoutView); this.createButtons(vLayoutView); } displayPreferenceControls { |view| preferences.do ...

  2. PostWindow Quark

    ... tWindow : Radicles {var text, <>megaString, <>time=0.1, <>deviation=0.01, win, <backgroundColor; *new {arg window, bounds, font, qpalette; ^super.new.initBasicClass(window, bounds, font, qpalette); } initBasicClass {arg window, bounds, font ...

  3. Feigenbaum by henklass (henklass) Code

    ... 160, 40, windowWidth, windowHeight)).front; u = UserView(w, w.view.bounds); u.background=Color.white; u.clearOnRefresh_(false); u.drawFunc={ Pen.fillColor = Color.black; Pen.addRect(Rect(p1, p2, 1, 1)); Pen.fill; }; r=Rout ...

  4. Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code

    ... = Window(\aliasing, Rect.aboutPoint(screen.center, width / 2, height / 2 + 60)).background_(Color.white), sinPts = 400, sampPts = 20, sr, freq = 1, fsl, sinColor = Color.red, sampColor = Color.blue, lineColor = Color.grey; win.draw ...

  5. Sketch Pad by elifieldsteel (eli.fieldsteel) Code

    ... view = UserView(win, Window.screenBounds); view.clearOnRefresh = false; view.background = Color.white; //any click sets point as current mouse location //left-click does nothing special //right-click clears palette view.mouseDownAc ...

  6. UMarkerGUI Quark

    ... chain.notes_( tf.string ); } { chain.notes_( nil ); }; updateNotes = true; }) .background_( Color.gray(0.8) ) .resize_(5); composite.decorator.nextLine; //composite.decorator.top = composite.bounds.height - (PresetManagerGUI.getHeight + 8 ...

  7. TabbedView Quark

    ... e gradients here, because the tabs are drawn with Pen. Gradients only work with background_; Custom color schemes and shapes can be controlled with instance variables or with the *new variations below. name a name for the window if a new wi ...

  8. searchForDescription-example Quark

    ... format(b.id, b.user["login"], b.description, title, b.files[title]["content"])).background_(Color(0.9, 0.9, 0.9, 1.0)).syntaxColorize } ) ///////////////////// create a tip /////////////// // write your tip into a separate document; // firs ...

  9. Simple Harmonic Motion by rukano (rukano) Code

    ... = { |i, periode=2pi| sin((i/n)*periode) }; var lastValues = { 0 }.dup(n); uv.background = Color.black; uv.animate = true; uv.frameRate = 120; uv.drawFunc = { |uv| var values = Array.fill(n, { |i| sinFunc.((i-1) + (uv.frame/100), uv. ...

  10. remoteDrawing Quark

    ... GUI .window.new( "draw on us" , Rect (128, 64, format[0], format[1]));\ w.view.background= colors[1];\ \ participation = Participation (collective).start;\ \ participation.addResponder( '/track' , \ |t,r,msg| \ var point = msg[2] @ msg[3]; ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow