赤と青の2トーンカラーチャート

by lenonsun forked from 赤と緑の2トーンカラーチャート (diff: 3)
♥1 | Line 17 | Modified 2011-10-29 22:32:10 | MIT License
play

ActionScript3 source code

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

// 赤と青の2トーンカラーチャート
package 
{
    import frocessing.display.F5MovieClip2D;
    /**
     * 赤と青のダブルトーンカラーチャート
     */
    public class GraphicExample extends F5MovieClip2D
    {
        public function setup() : void
        {
            var x:int, y:int;
            for( y = 0 ; y <= 465 ; y++ ) {     
                for( x = 0 ; x <= 465 ; x++ ) {
                    stroke( 255*x/465, 0, 255*y/465);  
                    point(x,y);
                }
            }
        }
    }
}

Forked