Comutare navigație
pbInfo.ro
Probleme
Probleme - clasa a IX-a
Probleme - clasa a X-a
Probleme - clasa a XI-a
Probleme din concursuri
Căutare problemă
Exerciții
Programează cu Blockly
Desenează cu Processing
Exersează SQL
Soluţii
Resurse
Resurse pentru clasa a IX-a
Resurse pentru clasa a X-a
Resurse pentru clasa a XI-a
Subiecte bacalaureat
Ajutor
Autentificare
Înregistrare
×
Autentificare
Utilizator sau email
Parola
Acest site foloseşte cookies. Navigând în continuare, vă exprimaţi acordul asupra folosirii cookie-urilor.
Îti place pbInfo? Atunci acceptă-l cu totul! Dezactivează modulul de blocare a reclamelor!
×
Lista scripturi
Script Nou
Ajutor
"Colors-Square" - Processing
ID
Autor
Duplicat din
Ultima modificare
#4691
Andrei Caleavalea (andrei_caleavalea_2004)
Colors-Circle
Miercuri, 08 dec 2021, 12:28
function setup() { createCanvas(400, 400); } function draw() { fill("red"); square(200,200,600,600); fill("orange"); square(200,200,590,590); fill("green"); square(200,200,580,580); fill("yellow"); square(200,200,570,570); fill("blue"); square(200,200,560,560); fill("purple"); square(200,200,550,550); fill("black"); square(200,200,540,540); fill("white"); square(200,200,530,530); fill("grey"); square(200,200,520,520); fill("brown"); square(200,200,510,510); fill("red"); square(200,200,500,500); fill("orange"); square(200,200,490,490); fill("green"); square(200,200,480,480); fill("yellow"); square(200,200,470,470); fill("blue"); square(200,200,460,460); fill("purple"); square(200,200,450,450); fill("black"); square(200,200,440,440); fill("white"); square(200,200,430,430); fill("grey"); square(200,200,420,420); fill("brown"); square(200,200,410,410); fill("red"); square(200,200,400,400); fill("orange"); square(200,200,390,390); fill("green"); square(200,200,380,380); fill("yellow"); square(200,200,370,370); fill("blue"); square(200,200,360,360); fill("purple"); square(200,200,350,350); fill("black"); square(200,200,340,340); fill("white"); square(200,200,330,330); fill("grey"); square(200,200,320,320); fill("brown"); square(200,200,310,310); fill("red"); square(200,200,300,300); fill("orange"); square(200,200,290,290); fill("green"); square(200,200,280,280); fill("yellow"); square(200,200,270,270); fill("blue"); square(200,200,260,260); fill("purple"); square(200,200,250,250); fill("black"); square(200,200,240,240); fill("white"); square(200,200,230,230); fill("grey"); square(200,200,220,220); fill("brown"); square(200,200,210,210); fill("red"); square(200,200,200,200); fill("orange"); square(200,200,190,190); fill("green"); square(200,200,180,180); fill("yellow"); square(200,200,170,170); fill("blue"); square(200,200,160,160); fill("purple"); square(200,200,150,150); fill("black"); square(200,200,140,140); fill("white"); square(200,200,130,130); fill("grey"); square(200,200,120,120); fill("brown"); square(200,200,110,110); fill("red"); square(200,200,100,100); fill("orange"); square(200,200,90,90); fill("green"); square(200,200,80,80); fill("yellow"); square(200,200,70,70); fill("blue"); square(200,200,60,60); fill("purple"); square(200,200,50,50); fill("black"); square(200,200,40,40); fill("white"); square(200,200,30,30); fill("grey"); square(200,200,20,20); fill("brown"); square(200,200,10,10); }
Duplicare
Executare
Cod
×
Cod HTML
<iframe sandbox="allow-scripts" src="/p5js/index.php?id=4691" style="width:408px; height:408px;border:solid 1px gray; overflow: scroll;"></iframe>
×
Duplicare script
Denumirea noului script
Du-te sus!