Tu lis?

Frederic Peters/Lupus

Frederic Peters - Lupus
Lupus LABLENNORRE et Tony UFFIZI se prennent une année sabbatique. Amis d'enfance... [...]

moremoremoremusic

speck mountain/summer above

speck mountain - summer above
we ♥
speck mountainspeck mountain/summer abovesummer above speck mountain.com

[1761280907/Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)/216.73.216.211/57908/80]
Twitter Facebook Instagram
♠:96636/  
 
"Designer de péripatéticiennes absolues", depuis 1996  © 
Pink Floyd live @ pompeii  | The Smashing Pumpkins - Siamese Dream  | Tenacious D  | Marilyn Manson - Eat me, drink me  | OFWGKTA Earl Sweatshirt - Doris (13) (Full Album)  | Sonic Youth - Goo  | Orties - Sextape [Le Musicologue]  | Psycho Realm - Terror Tape Vol.2  | Sonic Youth - Confusion Is Sex & Kill Yr. Idols  | Bérurier Noir - Ils Veulent Nous Tuer, 88  | Juliette Gréco  | W.A. Mozart - Requiem in D minor KV 626 - v Ka, Berlin PO  | Gymnopedie no. 1, 2 & 3, Erik Satie (1866-1925)  | Broadcast - Haha Sound, 03  | Stephen Jones - 85/01  | Cypress Hill - los grande exitos en espagñol  | MGMT - Oracular Spectacular  | Joy Division - Unknown Pleasures, 79  | Sexy Sushi - Ca M'aurait Fait Chier D'exploser  | Tyrannosaurus Rex - Prophets, Seers & Sages: The Angels of the Ages  | The Smashing Pumpkins Greatest Hits Judas o  | Snoop Dogg - Da Game Is To Be Sold... 98  | Rob Zombie - The sinister urge  | Stupeflip - The Hypnoflip Invasion, 11  | Stupeflip - The Hypnoflip Invasion Live - 12  | Aristide Bruant - le meilleur de, 20  | Marilyn Manson : Guns, God and The Government 1h20  | Yat-Kha - Yenisei Punk - Full Album  | Cypress Hill - III Temples Of Boom, 95  | Black Sabbath - Paranoid (Vinyl) 70  | Joy Division - Closer, 80  | Marilyn Manson - Lest We Forget: The Best Of  | Rob Zombie - The Lords of Salem (Soundtrack)  | John Lennon, The Lost Sleepy Blind Lemon Lennon Album, 90  | Method Man & Redman - Blackout!  | City Morgue Vol 1: Hell or high water  | Aphex Twin - DRUKQS  | Doc Gynéco - Première consultation  | Fats Domino - This is Fats Full Album 1/11  | Renaud Papillon Paravel - La langue de la bestiole  | Joanna Newsom - The Milk-Eyed Mender  | Depeche Mode - Songs Of Faith And Devotion (Live)  | Nirvana - 03/19/88 - Community World Theater, Tacoma, WA [SBD #1][1st concert. 5$ entry]  | AC/DC - Live  | Malicorne - Les Cathédrales de l'Industrie, 86  | Nirvana - In Utero  | Ô Paon - Live in Warsaw 08 / Full Set  | Joy Division - Substance  | Psycho realm - The Psycho realm, 97  | Nic Endo - Cold Metal Perfection HD  | Bérurier Noir - Souvent Fauché, Toujours Marteau ! - Full Album, 89  | Bloodhound Gang - Hooray For Boobies  | Prodigy & Alchemist - Albert Einstein, 13  | Dr Dre - The Chronic OG PRESS  | björk - debut  | Alec Empire - Shivers  | Truly - Fast Stories...From Kid Coma  | Bloodhound Gang - Hefty Fine  | Jordi Savall: Lachrimae Caravaggio (Hespèrion XXI)  | Die Antwoord - $O$ (full album)  | Jeru The Damaja - Wrath of the math, 96  | Aphex Twin - Come To Daddy  | M.I.A. - Kala / 10th anniversary celebration 17  | Marilyn Manson - The Golden Age of Grotesque  | Bloodhound Gang - Use Your Fingers lyr.  | Easy Star All-Stars - Dub Side Of The Moon  | The Legend of Sleepy John Estes [62]  | Prodigy - H.N.I.C. 00  | Brigitte Fontaine & Areski - Vous & Nous  | Joanna Newsom - Divers (Album)  | Layzie Bone & Young Noble - Thug Brothers  | Slash's Snakepit: It's Five O'Clock Somewhere  | Twisted Insane - The Insane Asylum  | Dark trap : chapter 4  | Brigitte Fontaine - Comme à la radio (Full Album)  | Zillakami x Sosmula - City Morgue | Syd Barrett - Barrett, 69  | Blind Lemon Jefferson - Complete Vol B  | Ministère AMER - Pourquoi tant de haine, 92  | Malicorne - Almanach, 76  | Sopor Æternus & The Ensemble Of Shadows - Dead Lover's Sarabande (1&2) 99  | Black Sabbath - 13, 13  | Bérurier Noir - Abracadaboum, 87  | Elliott Smith - Figure 8, 00  | Dark trap . mp4 chapter 1  | Elliott Smith - XO  | Nusrat Fateh Ali Khan en concert à Paris  | OFWGKTA Tyler the Creator - CHERRY BOMB FULL ALBUM  | Iggy Pop - Beat'Em Up, 01  | Bérurier Noir - Concerto pour Détraqués, 85  | My Bloody Valentine - M B V, 13  | Pink Floyd - The Dark Side Of The Moon 432hz  | Lightspeed Champion - Falling Off the Lavender Bridge, 08  | Pink Floyd - Ummagumma - Full Album  | Cypress Hill - Skull & Bones  | Cypress Hill - Eurockéennes, 12  | Ghostface Killah - The Brown Tape  | Local H - Pack Up The Cats, 98  | Macka B - Discrimination (95)  | White Zombie - La Sexorcisto : Devil Music V 1, 92  | Red Fang - Red Fang 09  | White Zombie - Astro Creep 2000, 95  | The Doors - An American Prayer  | Elliott Smith - An Introduction To...  | OFWGKTA Tyler, The Creator - WOLF [Full Album: Deluxe Edition]  | The Rakes - Capture / Release  | The Rolling Stones - Exile On Main St.  | Aphex Twin - 26 Mixes For Cash [1]  | The Velvet Underground - Loaded  | Broadcast - Tender Buttons ♥  | OFWGKTA Odd Future Tape Vol. 2 - Tracklist  | My Bloody Valentine - Loveless  | MellowHype - Numbers, 12  | Slash - Apocalyptic Love  | Nirvana - Bleach, 1989  | Bérurier Noir - Macadam Massacre, 83  | Broadcast - The Black Session [Radio Paris, 4/5/00]  | Stupeflip - Stup Religion, 05  | The Shaggs - Philosophy of the world, 69  | Catherine - Hot Saki & Bedtime Stories  | Tenacious D - Pick of destiny  | Bad Brains - Bad Brains, 82  | Renaud Papillon Paravel - Avec la langue EP 13  | Marilyn Manson - Heaven Upside Down 17  | Edith Piaf - La Vie En Rose  | Nas - Illmatic (Full Album)  | John Lennon - The Alternate Plastic Ono Band Album  | Kool Shen - Dernier Round - 04 (ALBUM)  | Redman - Muddy Waters, 96  | Sexy Sushi - Tu L'as Bien Mérité!  | Busta Rhymes - The Coming  | Hodgy Beats- The Dena Tape, 13  | Hawkwind - Masters Of The Universe  | Marilyn Manson - Mechanical Animals  | Marilyn Manson - The Last Tour On Earth, Live  | Joanna Newsom - Walnut Whales, EP  | Alec Empire - Intelligence & Sacrifice  | Black Sabbath - Master of Reality, 71  | Alec Empire - The Golden Foretaste Of Heaven  | Ô Paon & Woelv (Geneviève Castrée)  | Ol' Dirty Bastard - Return To The 36 Chambers  | Zappa & Shankar - Touch Me There, 84  | Earl Sweatshirt - Doris  | Bloodhound Gang - One Fierce Beer Coaster  | Ghostemane - N/O/I/S/E  | Marilyn Manson - The Pale Emperor (Deluxe Version)  | OFWGKTA Odd Future - Radical - Tracklist  | Mobb Deep - The Infamous HQ  | The Doors - Morrison Hotel  | Nirvana - Unplugged  | Herman Düne - Mas Cambios  | Stupeflip - Paléo Festival Nyon - 13  | Cypress Hill - Stoned Raiders (Full Album)  | Die Antwoord Mount Ninji and the Nice Time Kid full album  | The Smashing Pumpkins- Carnival Of Unkempt Secrets  | Nirvana - 11/18/89 - Kultur-Basar, Hanau, West Germany [SBD #1]  | OFWGKTA Tyler, the Creator - Dinosaur EP (Full Album)  | Black Sabbath - Black Sabbath, 70  | The Residents - The Commercial Album, 80  | Iron Butterfly - In-a-Gadda-da-Vida  | Albin de La Simone, Bouffes-du-Nord, Paris 030614  | The Stooges, 69  | Babes In Toyland - Spanking Machine  | The Doors - Rock Is Dead - Rare The Complete Session, 69  | $uicide Boy$ x Ghostemane x XXXTENTACION MIX  | System of A Down- System of A Down, 98  | Neu! - Neu! 2  | Aphex Twin - 26 Mixes For Cash [2]  | Leo ferré chante Aragon  | Beethoven: The 9 Symphonies - B. Philharmoniker / Karajan 63 1/38  | Public Image Ltd. - Second Edition !!!  | Aphex Twin - Selected Ambient Works 85-92  | Ouija Macc - Gutterwater  | Jeru The Damaja - The Sun Rises In The East  | Afro Jazz & Ol' Dirty - Strictly Hip-Hop...  | Wu-Tang Clan - Iron Flag  | Alec Empire - Futurist  | Joanna Newsom - Ys  | Red Fang - Murder The Mountains  | Ouija Macc - Resistance 2  | Guns 'n Roses - Appetite For Destruction, 87  | Duff McKagan - Believe in Me, 93  | U Roy - Serious Matter (Full Album)  | Syd Barrett - 69-71 Vinyl Sessions  | Serge Gainsbourg - Cannabis, 70  | Psykopat - L'invasion ... 98  | Washboard Sam - All the Best 57'.17"  | Atari Teenage Riot - Delete Yourself!  | Body Count - BODY COUNT, 92  | Ministère AMER - 95200, 94  | Lou Reed 12-26-72 Complete Show  | The Rolling Stones - Voodoo Lounge  | OFWGKTA Tyler, The Creator - Goblin (Full Album)  | Ben Lee - Grandpaw would  | Marin Marais - Works for viola Da Gamba (XVII th century)  | 

programmation



visites - 0/p
---
>>> Ø;

---
<?php  
/*Un premier exemple : graphique des visiteurs 

pour appliquer ces quelques notions, voici un premier exemple assez simple. 
On desire pouvoir g&eacute;n&eacute;rer un histogramme (graphique sous forme de "batons")
repr&eacute;sentant le nombre de visites sur votre site web sur les 12 mois de l'ann&eacute;e. 

On supposera que vous avez d&eacute;jà r&eacute;alis&eacute; la partie comptabilisation 
des visites (dans une table mysQl par exemple), on ne s'y &eacute;tendra pas ce n'est pas
le but du tutorial. imaginons donc que le nombre de visites pour chacun des 12 mois est 
plac&eacute; dans le tableau $visites. ici ce tableau sera remplis "à la main", mais ce 
serait à vous de le remplir en fonction de votre table mySQl. 

a) les visites, l'image et les couleurs

On commence donc par créer un tableau contenant les visites sur 12 mois (donc 12 valeurs).
On crée ensuite une image 400x300 et on crée trois couleurs, dont la première (le blanc) 
sera la couleur du fond. 

visites.php

--------------------------------------------------------------------------------
*/
    
$visites = array(138254381652896720140556663331407768); 

    
header ("Content-type: image/png");  
    
$largeurimage 400
    
$hauteurimage 300
    
$im imagecreate ($largeurimage$hauteurimage)  
            or die (
"Erreur lors de la cr&eacute;ation de l'image");          
    
$blanc imagecolorallocate ($im255255255);  
    
$noir imagecolorallocate ($im000);   
    
$bleu imagecolorallocate ($im00255);         
      

/*
b) On dessine les axes

On place l'axe vertical du temps (un simple trait noir) en bas de l'image, en laissant une 
marge de 10 points. 
On &eacute;crit en dessous le num&eacute;ro de chacun des mois en utilisant une simple 
boucle for et la fonction imageString. les numeros de mois sont plac&eacute;s tous les 30 
points en partant de la gauche de l'image.
Enfin on trace un trait vertical repr&eacute;sentant l'axe vertical du nombre de visites.

*/

    // on dessine un trait vertical pour repr&eacute;senter l'axe du temps     
    
imageline ($im10$hauteurimage-10$largeurimage-10$hauteurimage-10$noir); 
    
// on affiche le num&eacute;ro des 12 mois 
    
for ($mois=1$mois<=12$mois++) { 
        
imagestring ($im0$mois*30$hauteurimage-10$mois$noir); 
    } 
     
    
// on dessine un trait vertical pour repr&eacute;senter le nombre de visites 
    
imageline ($im101010$hauteurimage-10$noir); 
      
/*

c) On dessine les batons

Voici la partie un peu plus difficile au cours de laquelle on dessine les batons.
Tout d'abord, il nous faut le nombre de visites maximal que nous aurons à tracer sur le 
graphe. ici, la valeur est pos&eacute;e arbitrairement (1000), mais en r&eacute;
alit&eacute; il faudrait la calculer en parcourant le tableau des visites à la recherche de 
son maximum, mais faisons simple...
pour chacun des mois, il faut calculer la hauteur du rectangle que l'on veut tracer. pour 
cela on fait un produit en croix sachant que la hauteur du rectangle pour le nombre de 
visites maximum serait &eacute;gale (pour simplifier) à la hauteur de l'image. a partir du 
nombre de visites pour un mois donn&eacute; on en d&eacute;duit la hauteur voulue.
il ne reste plus qu'à le tracer chaque rectangle, en commençant par son point sup&eacute;
rieur gauche et en finissant par son point inf&eacute;rieur droit.
pour am&eacute;liorer les choses, on ajoute le nombre de visites au dessus de chaque 
rectangle. 

*/
    // le nombre maximum de visites 
    
$visitesmax 1000
     
    
// trac&eacute; des batons 
    
for ($mois=1$mois<=12$mois++) { 
        
$hauteurimagerectangle round(($visites[$mois-1]*$hauteurimage)/$visitesmax); 
        
imagefilledrectangle ($im$mois*30-7$hauteurimage-$hauteurimagerectangle$mois*30+7$hauteurimage-10$bleu); 
        
imagestring ($im0$mois*30-7$hauteurimage-$hauteurimagerectangle-10$visites[$mois-1], $noir); 
    } 
     
    
// et c'est fini... 
    
imagepng ($im);  

/*
d) Et voila !

Bien sûr le r&eacute;sultat n'est pas superbe, mais on obtient quelque chose de présentable 
en une vingtaine de lignes, ce qui n'est pas si mal ni si difficile...
*/

?>   


cheese3D - 0/p
---
>>> Ø;

---
<?php 
#http://www.phpcs.com/codes/CAMEMBERTS-3D_34131.aspx
/*
- Date de cr&eacute;ation : 18/09/2005
- nom : camembert.php
- auteur : opossum_farceur.
- Object : les camemberts 3D.
- Source : http://fr3.php.net/manual/fr/function.imagefilledarc.php
*/

function camembert($arr)
{
   
$size=3;                  /* taille de la police, largeur du caractère */
   
$ifw=imagefontwidth($size);

   
$w=500;                   /* largeur de l'image */
   
$h=250;                   /* hauteur de l'image */
   
$a=120;                   /* grand axe du camembert */
   
$b=$a/2;                  /* 60 : petit axe du camembert */
   
$d=$a/4;                  /* 60 : "&eacute;paisseur" du camembert */
   
$cx=$w/2-1;               /* abscisse du "centre" du camembert */
   
$cy=($h-$d)/2;            /* 95 : ordonn&eacute;e du "centre" du camembert */

   
$A=138;                   /* grand axe de l'ellipse "englobante" */
   
$B=102;                   /* petit axe de l'ellipse "englobante" */
   
$oy=-$d/2;                /* -30 : du "centre" du camembert à celui de l'ellipse "englobante"*/

   
$img=imagecreate($w,$h);  
   
$bgcolor=imagecolorallocate($img,0xCD,0xCD,0xCD);
   
imagecolortransparent($img,$bgcolor);
   
$black=imagecolorallocate($img,0,0,0);
                             
/* calcule la somme des donn&eacute;es */
   
for ($i=$sum=0,$n=count($arr);$i<$n;$i++) $sum+=$arr[$i][0];

   
/* fin des pr&eacute;liminaires : on peut vraiment commencer! */
   
for ($i=$v[0]=0,$x[0]=$cx+$a,$y[0]=$cy,$doit=true;$i<$n;$i++) {
      for (
$j=0,$k=16;$j<3;$j++,$k-=8$t[$j]=($arr[$i][1]>>$k) & 0xFF;
                             
/* d&eacute;termine les "vraies" couleurs */
      
$color[$i]=imagecolorallocate($img,$t[0],$t[1],$t[2]);
                             
/* calcule l'angle des diff&eacute;rents "secteurs" */
      
$v[$i+1]=$v[$i]+round($arr[$i][0]*360/$sum);

      if (
$doit) {           /* d&eacute;termine les couleurs "ombr&eacute;es" */
         
$shade[$i]=imagecolorallocate($img,max(0,$t[0]-50),max(0,$t[1]-50),max(0,$t[2]-50));

         if (
$v[$i+1]<180) { /* calcule les coordonn&eacute;es des diff&eacute;rents parall&eacute;logrammes */
            
$x[$i+1]=$cx+$a*cos($v[$i+1]*M_PI/180);
            
$y[$i+1]=$cy+$b*sin($v[$i+1]*M_PI/180);
         }
         else {
            
$m=$i+1;
            
$x[$m]=$cx-$a;   /* c'est comme si on remplaçait $v[$i+1] par 180° */
            
$y[$m]=$cy;
            
$doit=false;     /* indique qu'il est inutile de continuer! */
         
}
      }
   }

   
/* dessine la "base" du camembert */
   
for ($i=0;$i<$m;$i++) imagefilledarc($img,$cx,$cy+$d,2*$a,2*$b,$v[$i],$v[$i+1],$shade[$i],IMG_ARC_PIE);

   
/* dessine la partie "verticale" du camembert */
   
for ($i=0;$i<$m;$i++) {
      
$area=array($x[$i],$y[$i]+$d,$x[$i],$y[$i],$x[$i+1],$y[$i+1],$x[$i+1],$y[$i+1]+$d);
      
imagefilledpolygon($img,$area,4,$shade[$i]);
   }

   
/* dessine le dessus du camembert */
   
for ($i=0;$i<$n;$i++) imagefilledarc($img,$cx,$cy,2*$a,2*$b,$v[$i],$v[$i+1],$color[$i],IMG_ARC_PIE);

   
#imageellipse($img,$cx,$cy-$oy,2*$A,2*$B,$black); // dessine l'ellipse "englobante"

   /* dessine les "flêches" et met en place le texte */
   
for ($i=0,$AA=$A*$A,$BB=$B*$B;$i<$n;$i++) if ($arr[$i][0]) {
      
$phi=($v[$i+1]+$v[$i])/2;      
                             
/* intersection des "flêches" avec l'ellipse "englobante" */
      
$px=$a*3*cos($phi*M_PI/180)/4;
      
$py=$b*3*sin($phi*M_PI/180)/4;
                             
/* &eacute;quation du 2ème degr&eacute; avec 2 racines r&eacute;elles et distinctes */
      
$U=$AA*$py*$py+$BB*$px*$px;        
      
$V=$AA*$oy*$px*$py;
      
$W=$AA*$px*$px*($oy*$oy-$BB);
                             
/* calcule le pourcentage à afficher */
      
$value=number_format(100*$arr[$i][0]/$sum,2,',','').'%';
                             
/* &eacute;crit le texte à droite */
      
if ($phi<90 || $phi>270) {          
         
$root=(-$V+sqrt($V*$V-$U*$W))/$U;
         
imageline($img,$px+$cx,$py+$cy,$qx=$root+$cx,$qy=$root*$py/$px+$cy,$black);
         
imageline($img,$qx,$qy,$qx+10,$qy,$black);

         
imagestring($img,$size,$qx+14,$qy-12,$arr[$i][2],$black);
         
imagestring($img,$size,$qx+14,$qy-2,$value,$black);
      }
      else {                 
/* &eacute;crit le texte à gauche */
         
$root=(-$V-sqrt($V*$V-$U*$W))/$U;
         
imageline($img,$px+$cx,$py+$cy,$qx=$root+$cx,$qy=$root*$py/$px+$cy,$black);
         
imageline($img,$qx,$qy,$qx-10,$qy,$black);

         
imagestring($img,$size,$qx-12-$ifw*strlen($arr[$i][2]),$qy-12,$arr[$i][2],$black);
         
imagestring($img,$size,$qx-12-$ifw*strlen($value),$qy-2,$value,$black);
      }
   }

   
header('Content-type: image/png');
   
imagepng($img);
   
imagedestroy($img);
}

$arr=array(
/*        donn&eacute;e   couleur    l&eacute;gende */
   
array(    40,  0xFF99CC,   'Loisirs'),
   array(    
80,  0xFF9900,   'Assurance'),
 
#  array(    120,  0xFF9900,   'Assurance'),
   
array(   160,  0xFFCB03,   'Credits'),
   array(   
160,  0x99CC00,   'Carburant'),
   array(   
200,  0x339966,   'Charges'),
   array(   
240,  0x33CCCC,   'Rentr&eacute;e'),
   array(   
280,  0x0091C3,   'Nourriture'),
   array(   
340,  0x969696,   'Loyer')
);
#            1500
camembert($arr);                          /* enjoy! */
?>