forked from: 赤から緑へのグラデーション

by manami forked from 赤から緑へのグラデーション (diff: 7)
lineを使った赤から緑へのグラデーション
@author shmdmoto
♥0 | Line 14 | Modified 2011-03-29 22:09:52 | MIT License
play

ActionScript3 source code

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

// forked from shmdmoto's 赤から緑へのグラデーション
package 
{
    import frocessing.display.F5MovieClip2D;
    /**
     * lineを使った赤から緑へのグラデーション
     * @author shmdmoto
     */
    public class GraphicExample extends F5MovieClip2D
    {
        public function setup() : void
        {
            var y:int;
            for (y=0; y<=255; y--) {
                stroke(255-y,0,y);
            }


        }
    }
}