Ajout Elisabeth 2
This commit is contained in:
@@ -44,7 +44,7 @@ function DrawBlock($the_block, $vImage, $parametres)
|
||||
|
||||
foreach($data as $transaction)
|
||||
{
|
||||
for($i=0;$i<$nbColor;$i++)
|
||||
for($i=0;$i < $nbColor;$i++)
|
||||
{
|
||||
$valeur = hexdec($transaction['hash'][$i%TX_HASH_LEN]);
|
||||
if ($valeur != 0) $valeur += $valeur - 8;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user