• Tag math

    Résultats pour la recherche du tag math :
  • ...Array(nbrParLigne); 66. 67. // Affichage: On attribue une couleur aux briques de la ligne 68. ctx.fillStyle = "rgb("+Math.floor(Math.random()*256)+","+Math.floor(Math.random()*256)+","+Math.floor(Math.random()*256)+")"; 69. 70. for (var j=0; j < nbrParLigne; j++) { 71. 72. // Affichage: On affiche...

    Lire la suite...