xxxxxxxxxx
31
let pg;
function setup() {
createCanvas(600, 800, WEBGL);
normalMaterial();
pg = createGraphics(1400, 500);
pg.textSize(200);
}
function draw() {
background(255);
//pg.background(255);//couleur de fond de la sphere
//noStroke();
pg.fill('pink');
pg.stroke('blue');
pg.strokeWeight(4);
pg.text('BEURS\nBEURS BEURS', 0, 190);
texture(pg);
rotateY(frameCount * 0.01);
rotateX(frameCount * 0.01);
sphere(width/3);
}