Ajout Elisabeth 2

This commit is contained in:
2022-09-10 07:31:06 +02:00
parent 0bf16e3ab5
commit 61453396d6
4 changed files with 19 additions and 8 deletions
+2 -2
View File
@@ -53,8 +53,8 @@ function DrawBlock($the_block, $vImage, $parametres)
//if (($x2 - $x1) < ($width*0.015)) break;
//if (($y2 - $y1) < ($height*0.015)) break;
$factor=$the_block->nonce % 100;
// Je triche: les petits rectangle sont blancs
$factor=($x1*$x2*$y1*$y2) % 100;
// Je triche: les petits rectangles sont blancs
if (($x2 - $x1) < 6) $factor=90;
if (($y2 - $y1) < 6) $factor=90;