Aktionen

Benutzer

Victor: Unterschied zwischen den Versionen

Aus exmediawiki

(Die Seite wurde neu angelegt: „mini“)
 
Zeile 1: Zeile 1:
 
[[Datei:Photo 2021-02-01 15-38-51.jpg|mini]]
 
[[Datei:Photo 2021-02-01 15-38-51.jpg|mini]]
 +
 +
P5 CODING EXAMPLE:
 +
 +
function setup() {
 +
  createCanvas(100, 100, WEBGL);
 +
}
 +
 +
function draw() {
 +
  background(0);
 +
  noFill();
 +
  stroke(100, 100, 240);
 +
  rotateX(frameCount * 0.01);
 +
  rotateY(frameCount * 2.01);
 +
  box(466, 70, -5);
 +
}
 +
 +
[[Datei:P5 Coding Example.mov|mini]]

Version vom 6. April 2021, 03:23 Uhr

Photo 2021-02-01 15-38-51.jpg

P5 CODING EXAMPLE:

function setup() {

 createCanvas(100, 100, WEBGL);

}

function draw() {

 background(0);
 noFill();
 stroke(100, 100, 240);
 rotateX(frameCount * 0.01);
 rotateY(frameCount * 2.01);
 box(466, 70, -5);

}