-
... rgs( string, buttons, actions, color, iconName ).init( background, border ); } openAgain { ^this.init; } init { |background, border| //var buttonViews; var charDict; color = color ? Color.red.alpha_( 0.75 ); buttons = buttons ?? {buttons = ...
-
... .drawFunc_({ |u| 4.do { |i| var shift = if (i.inclusivelyBetween(1, 2), 10, 0); Pen.addArc( (30 + shift) @ (i*32 + 15), 15, 0, 2pi); Pen.addArc( (90 - shift) @ (i*32 + 15), 15, 0, 2pi); Pen.fill; Pen.stringCenteredIn("NTMI-005", u.bounds.ex ...
-
... de progreso .drawFunc_({ |view| var progress = view.getProperty(\progress, 0); Pen.color = Color.green; Pen.fillRect(Rect(0, 0, view.bounds.width * progress, view.bounds.height)); }); progressBarView.setProperty(\progress, 0); // Valor ini ...
-
... ^DrawIcon( this.asString.split( $_ )[0].asSymbol, rect.asRect, *args ) }; } } + Pen { *drawIcon { |symbol = \play, rect ... args| if( args.size == 0 ) { ^DrawIcon.symbolArgs( symbol, rect.asRect ) } { ^DrawIcon( symbol, rect.asRect, *args ) ...
-
... LSystem Location: NOT INSTALLED! See also: RedLSystem Description Plotting with Pen . After Flake - "The Computational Beauty of Nature". Class Methods . new Arguments: lsystem An instance of RedLSystem or a String . length Line segment len ...
-
... . plot Generates an Image and display it. . makeWindow Display the pixels using Pen and fillRect . . type A string. "BM". . width . height Image dimensions in pixels. . depth Colour depth. 1, 4, 8, 16, 24 or 32. . compression When read from ...
-
... orceWander2D; o.addForce(world.gravity); o.update; world.contain(o); //--render Pen.fillColor= Color.grey(o.state[\cell]*0.85+0.15, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... orceWander2D; o.addForce(world.gravity); o.update; world.contain(o); //--render Pen.fillColor= Color.grey(o.state[\cell]*0.85+0.15, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... con instead of >, keyboard control, //added allowsReselection, click once stay open, removed hardcoded font, //more settings like numFlashes, margin, icon. drag and drop now work. //--changes220116 //bugfix dark theme black background, use ...
-
... .clearOnRefresh_(false) .background_(Color.black) .drawFunc_ ({ if(isPlaying, { Pen.color = Color.gray(0, alpha: fadeAmount); }, { Pen.color = Color.black; }); Pen.fillRect(view.bounds); currentGrid.do ({|item, xPos| item.do ({|state, yPos| ...