Aktionen

Benutzer

Shipeng

Aus exmediawiki

MATERIALTABLEAU

MATERIALTABLEAU 1

[shape.jpg[|mini|rechts]]

MATERIALTABLEAU 2

MATERIALTABLEAU 3

MATERIALTABLEAU 4

MATERIALTABLEAU 5

MATERIALTABLEAU 6

MATERIALTABLEAU 7

MATERIALTABLEAU 8

P5.js


t = 0;

function setup(){

 createCanvas(600,600);

}

function draw(){

 background(255,80);
 t = t + 0.025;
 
 for (x = 0;x < width;x = x + 600){
   for(y = 0;y<height; y = y + 600){
     
     const myX = x + 20 * tan(t);
     const myY = y + 20 * tan(t);
     
     noStroke();
     fill(10);
     translate(200,200);
     rect(myX,myY,120);
   }
 }

}