explantation of matrix skecth
in
Programming Questions
•
5 months ago
hi ! amnon wrote this yesterday:
- int i,h,w;
- void setup() {
- size(w=1000, h=w/2);
- textFont(createFont("Arial Black", 10));
- }
- void draw() {
- fill(0, 10);
- rect(0, 0, w, h);
- fill(0, h/2, i=0);
- while (i<w) text((char)random(h/2), i+=7, (frameCount*7+noise(i)*h*i)%h);
- }
it's pretty cool !!
i would like to understand what causes those text alpha changes ? I don't understand fill(0, h/2, i=0); what does i=0 mean ? it's different from 0 and I don't understand why…
I don't know if it deserves a post…
i would like to understand what causes those text alpha changes ? I don't understand fill(0, h/2, i=0); what does i=0 mean ? it's different from 0 and I don't understand why…
I don't know if it deserves a post…
1