-
... rCollider used to have a pretty nasty GUI class system that involved platform-dependent classes like SCWindow. This system is completely gone in 3.7 with a unified Qt GUI. You will still see remnants of the old GUI classes in some SuperColl ...
-
+ Pen { *splineCurve { arg point1, point2, cpoint1, cpoint2, div = 10; (0,(1/div)..1).copy.do({ |i| this.lineTo( ([point1.x, point2.x].splineIntFunction( i, cpoint1.x, cpoint2.x ))@ ([point1.y, point2.y].splineIntFunction( i, cpoint1.y, cpo ...
-
... center, rect.width.min( rect.height ) / 5, rect.width.min( rect.height ) / 4 ); Pen.line( square.leftBottom, square.leftTop ); Pen.lineTo( square.rightTop ); Pen.lineTo( square.right @ (square.top + (square.height / 2) ) ); Pen.lineTo( squa ...
-
... t is a Char . "ABCDEFG" .at(2).postln; compare(aString) Returns a -1, 0, or 1 depending on whether the receiver should be sorted before the argument, is equal to the argument or should be sorted after the argument. This is a case sensitive ...
-
... in which to host SCView , SCWindow is also a canvas on which you can draw using Pen. See the SCPen file for many examples. For modal versions of SCWindow see SCModalWindow and SCModalSheet . See also: SCView , GUI , SCScrollTopView , SCPen ...
-
... d_( Color.white.alpha_( 0.25 ) ) .drawFunc_({ |vw| var bounds, vals, size, def; Pen.color = hiliteColor; bounds = vw.bounds.moveTo(0,0); vals = this.unmap( vws[ \val ] ).linlin(0,1,bounds.height,0); size = vals.size; def = this.unmap( this. ...
-
... freq, \maxDur, osize, \amp, amp, \pan, pan]); }); world.contain(o); //--render Pen.strokeColor= Color.grey(o.mass/4, 0.7); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })
-
... freq, \maxDur, osize, \amp, amp, \pan, pan]); }); world.contain(o); //--render Pen.strokeColor= Color.grey(o.mass/4, 0.7); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })
-
... margin; }; minSize = 250 @ 200; } makeViews { var font = Font("Monaco", 10); // Pen.font_(Font("", 12)); zone.resize_(5); // elastic h + v nameView = StaticText(zone, Rect(0,0,50, 20)) .font_(font).string_("weights"); inNameView = UserView( ...
-
... margin; }; minSize = 250 @ 200; } makeViews { var font = Font("Monaco", 10); // Pen.font_(Font("", 12)); zone.resize_(5); // elastic h + v nameView = StaticText(zone, Rect(0,0,50, 20)) .font_(font).string_("weights"); inNameView = UserView( ...