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: 色相,彩度のグラデーション

Get Adobe Flash player
by yd_niku 22 Dec 2010
    Embed
/**
 * Copyright yd_niku ( http://wonderfl.net/user/yd_niku )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/3ubW
 */

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