Naoto
Naoto Naoto Hieda

Tweet P5 Sampling

let x,y,c,i
setup=_=>{createCanvas(a=600,a)
colorMode(HSB,1,1,1)
for(let j=0;j<a*a;j++,i=int(j/a))set(j%a,i,color(noise((j%a)/a*2,i/a*2),1,1))
updatePixels()
strokeWeight(90)}
draw=_=>{
colorMode(RGB)
c=get(x=random(a),y=random(a))
stroke(c)
point(x,y)}
//#つぶやきProcessing

comments powered by Disqus