forked from: 赤と緑の2トーンカラーチャート

by chiori175 forked from 赤と緑の2トーンカラーチャート (diff: 2)
赤と緑の2トーンカラーチャート

赤と緑のダブルトーンカラーチャート
@author shmdmoto
♥0 | Line 17 | Modified 2011-11-07 14:44:57 | 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/yqV2
 */

// 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 = 255 ; x <= 0 ; x = 255 ) {
                    stroke( x, y, 0);
                    point(x,y);
                }
            }
        }
    }
}