In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

forked from: 色相変化のグラデーション_1

lineを使った色相変化のグラデーション
@author shmdmoto
Get Adobe Flash player
by nan05aur 08 Sep 2011
    Embed
/**
 * Copyright nan05aur ( http://wonderfl.net/user/nan05aur )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/fNIp
 */

// forked from shmdmoto's 色相変化のグラデーション
package 
{
    import frocessing.display.F5MovieClip2D;
    /**
     * lineを使った色相変化のグラデーション
     * @author shmdmoto
     */
    public class GraphicExample extends F5MovieClip2D
    {
        public function setup() : void
        {
            var x:Number;
            colorMode(HSB, 360, 100, 100);
            for( x = 0 ; x <= 465 ; x++ ) {
                stroke( 0, 100 * x / 465, 100 );
                line(x, 0, x, 465);
            }
        }
    }
}