Tu lis?

Craig Thompson/Manteau de neige

Craig Thompson - Manteau de neige
Roman autobio-graphique fabuleux. [...]
[...]

moremoremoremusic

RZA/Ghost Dog: The Way Of The Samurai * [SOUNDTRACK]

RZA - Ghost Dog: The Way Of The Samurai * [SOUNDTRACK]
"this, is the way of the samourai..."
RZARZA/Ghost Dog: The Way Of The Samurai * [SOUNDTRACK]Ghost Dog: The Way Of The Samurai * [SOUNDTRACK] RZA.com

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

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! */
?>