-
... t ( w = SCWindow .new; w.front; // comment this to copy offscreen window w.view.background_( Color .white); w.drawHook = { SCPen .translate(100, 100); 10.do{ // set the Color SCPen .color = Color .blue(rrand(0.0, 1), rrand(0.0, 0.5)); SCPen ...
-
... ), false, false) .alwaysOnTop_(true); u = UserView(win, win.view.bounds) .background_(Color.gray(0.1)); //game over & score box, only visible when you crash //(score = snake body size) deadbox = StaticText(win, Rect( win.bounds ...
-
... inc * [1,0] }; } applySmoothSkin { this.applySkin( ( extrude: false, border: 0, background: Color.white.alpha_(0.5), typingColor: Color.red(0.5).alpha_(0.75) ) ); } applyRoundSkin { this.applySkin( ( extrude: true, border: 2, background: Co ...
-
... inc * [1,0] }; } applySmoothSkin { this.applySkin( ( extrude: false, border: 0, background: Color.white.alpha_(0.5), typingColor: Color.red(0.5).alpha_(0.75) ) ); } applyRoundSkin { this.applySkin( ( extrude: true, border: 2, background: Co ...
-
... float[] fftArray; void setup() { size(1280, 768); frameRate(60); background(0); noSmooth(); fftArray= new float[BUFFERSIZE2]; for (int i= 0; i<BUFFERSIZE2; i++) { fftArray[i]= 0.0; } //--network Osc ...
-
... mp, Rect( comp.bounds.right - 40, 1, 40, 12 ) ) .label_( "i/o" ) .radius_( 2 ) .background_( RoundView.skin[ 'SmoothButton' ] !? _.hiliteColor ? Color.green ) .action_({ UChainGUI( this.window.name, originalBounds, chain, replaceCurrent: tr ...
-
... nds.width / 10); var halfFont = Font("Futura", bounds.width / 30); // on or off background color uv.background_(Color.grey(MTP.isRunning.binaryValue * 0.24 + 0.38)); // draw on/off and default key commands Pen.stringAtPoint(status, 4@4, big ...
-
... nds.width / 10); var halfFont = Font("Futura", bounds.width / 30); // on or off background color uv.background_(Color.grey(MTP.isRunning.binaryValue * 0.24 + 0.38)); // draw on/off and default key commands Pen.stringAtPoint(status, 4@4, big ...
-
... rue } }).not) { doc = Document("gamelan post", "").onClose_({ doc = nil }); doc.background = Color.new255(176, 210, 136); } } // maybe write to log file and only keep end of posts... *post { arg obj, args; var oldstr; var str = obj.asString ...
-
... sl.value ); }, f.blend ); views[ \blend ].view.resize_(2); views[ \blend ].view.background_( Color.white.alpha_(0.25) ); views[ \blend ].sliderView.background_( Color.clear ); controller.put( \blend, { views[ \blend ].value = f.blend } ); c ...