Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. SCAlert Quark

    ... 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 = ...

  2. 8b_raspiGui Quark

    ... .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 ...

  3. splash window Quark

    ... 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 ...

  4. extDrawIcon Quark

    ... ^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 ) ...

  5. RedLTurtle Doc

    ... 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 ...

  6. RedBMP Doc

    ... . 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 ...

  7. 060-angents-gol Doc

    ... 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}); )

  8. 060-angents-gol Quark

    ... 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}); )

  9. PopUpTreeMenu Quark

    ... 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 ...

  10. ModernLife Quark

    ... .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| ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow