forked from: forked from: Perlin Noiseを使ったランダム模様
円を敷き詰める
@author shmdmoto
♥0 |
Line 20 |
Modified 2014-08-24 23:26:44 |
MIT License
archived:2017-03-20 10:07:14
ActionScript3 source code
/**
* Copyright bambula.filip1 ( http://wonderfl.net/user/bambula.filip1 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/tH1b
*/
// forked from riju's forked from: Perlin Noiseを使ったランダム模様
// forked from shmdmoto's Perlin Noiseを使ったランダム模様
package
{
import frocessing.display.F5MovieClip2D;
/**
* 円を敷き詰める
* @author shmdmoto
*/
public class GraphicExample extends F5MovieClip2D
{
public function setup() : void
{
var x: int, y:int;
var noiseVal:Number;100
noFill();
for(y=0; y <= 465; y++) {
for(x=0; x <= 465; x++) {
noiseVal= noise(x, y);
stroke(noiseVal*255);
point(x, y);
}
}
}
}
}