forked from: 練習問題②forked from: 赤と緑の2トーンカラーチャート

by chiori175
♥0 | Line 17 | Modified 2011-11-09 12:18:23 | MIT License
play

ActionScript3 source code

/**
 * Copyright chiori175 ( http://wonderfl.net/user/chiori175 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/kzao
 */

// forked from anime037's 練習問題②forked from: 赤と緑の2トーンカラーチャート
// forked from lenonsun's 赤と緑の2トーンカラーチャート
// 赤と緑の2トーンカラーチャート
package 
{
    import frocessing.display.F5MovieClip2D;
    /**
     * 赤と緑のダブルトーンカラーチャート
     * @author shmdmoto
     */
    public class GraphicExample extends F5MovieClip2D
    {
        public function setup() : void
        {
            var x:int, y:int;
            for( y = 0 ; y <= 255 ; y++ ) {
                for( x = 0 ; x <= 255 ; x++ ) {
                    stroke( 0, x, y);
                    point(x,y);
                }
            }
        }
    }
}