Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. InfluxGuis2 Quark

    ... aticText(zone, Rect(0,0, 50, 20)) .font_(font).string_("weights"); inNameView = UserView(zone, Rect(0,0, 200, 20)) .resize_(2); // elastic horiz inNameView.drawFunc = { |u| inNames.do { |name, i| var wid = u.bounds.width / inNames.size; Pen ...

  2. RedIFS Quark

    ... Rect(100, 200, 400, 400)}; var win= Window(this.class.name, b, false); var usr= UserView(win, Rect(0, 0, b.width, b.height)); usr.background= background ?? {Color.white}; usr.drawFunc= { Pen.translate(b.width*0.5, b.height*0.5); Pen.moveTo( ...

  3. Feigenbaum by henklass (henklass) Code

    ... w=Window("Feigenbaum", Rect(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, ...

  4. RedLTurtle Quark

    ... Rect(100, 200, 700, 700)}; var win= Window(this.class.name, b, false); var usr= UserView(win, Rect(0, 0, b.width, b.height)); initTranslate= initTranslate ? Point(0.5, 0.5); usr.drawFunc= { Pen.rotate(initAngle, b.width*0.5, b.height*0.5); ...

  5. Simple Harmonic Motion by rukano (rukano) Code

    ... w = 1024, h = 600; var win = Window("", Rect(100, 100, w, h)).front; var uv = UserView(win, win.view.bounds); var sinFunc = { |i, periode=2pi| sin((i/n)*periode) }; var lastValues = { 0 }.dup(n); uv.background = Color.black; uv.animat ...

  6. remoteDrawing Quark

    ... [ Color .black, Color .gray];\ var penWidth = 1;\ \ \ // based on example of SCUserView \ drawing = \ | collective | \ \ var w, v, txt, tmppoints, undone, all, participation;\ tmppoints = (); // dictionary for temp data of each collaborato ...

  7. TimeRuler Quark

    ... h]); this.gui(layout, bounds) } gui { arg layout, bounds; var pen, blue; view = UserView(layout, bounds); view.background = Color.white; gridLines = DrawGrid(bounds, GridLines([0.0, maxTime]), nil); pen = GUI.pen; blue = Color.blue; view.dr ...

  8. Show a chord in music notation in a sclang window by 56228375 (56228375) Code

    ... 50,100)).front; window.view.background_(Color.new(153,255, 102)); chordview = UserView(window); chordview.drawFunc = { |uview| var viewwidth = uview.bounds.width; var viewheight = uview.bounds.height; var imgwidth = img.width; ...

  9. JITView Doc

    ... s its source code, change it by code, and do multiple actions with it. It has a UserView for configurable display and interaction modes. Its action is an MFunc to allow configurable actions when activated. For flexible display of number(s), ...

  10. MTP Doc

    ... 'A' key on the keyboard ⧉ ✔ . defaultDrawFunc the default drawFunc used by MTPs userview. // see the defaultDrawFunc: MTP.defaultDrawFunc.cs; // only do the finger drawing part of it, with little mods: MTP.start.gui; MTP.uview.drawFunc = { ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow