Fichier:Antialiased.png
De Wikipedia, l'encyclopédie encyclopedia
Antialiased.png (128 × 128 pixels, taille du fichier : 10 kio, type MIME : image/png)
Ce fichier et sa description proviennent de Wikimedia Commons.
Description
DescriptionAntialiased.png |
English: antialiased chessboard |
Date | 03:57 Jan 24, 2003 (UTC)) |
Source | Travail personnel |
Auteur | Loisel |
Vous avez la permission de copier, distribuer et modifier ce document selon les termes de la GNU Free Documentation License version 1.2 ou toute version ultérieure publiée par la Free Software Foundation, sans sections inaltérables, sans texte de première page de couverture et sans texte de dernière page de couverture. Un exemplaire de la licence est inclus dans la section intitulée GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
Ce fichier est disponible selon les termes de la licence Creative Commons Attribution – Partage dans les Mêmes Conditions 3.0 (non transposée). | ||
| ||
Ce bandeau de licence a été ajouté à ce fichier dans le cadre de la procédure de mise à jour des licences des images sous GFDL.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
C src code
generated by this code, which I (Loisel wrote myself
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <assert.h>
int color(double x, double y)
{
double t,z;
int i,j,k;
x=x/128.0-0.5;
y=y/2048.0;
t=1.0/(y+0.001);
z=t*x;
i=floor(t);
j=floor(z);
k=i+j;
// printf("%f %f -> %i %i %i\n",t,z,i,j,k%2);
return ((k%2)!=0);
}
double myrand()
{
return rand()/((double)RAND_MAX);
}
int main()
{
int i,j,k,l;
double x,y;
printf("P5\n128 128\n255\n");
srand(time(0));
for(i=0;i<128;i++)
for(j=0;j<128;j++)
{
k=0;
for(l=0;l<255;l++)
{
x=j+myrand();
y=i+myrand();
k+=color(x,y);
}
assert(k>=0 && k<=255);
putchar(k);
}
}
date/time | username | edit summary |
---|---|---|
19:22, 22 December 2004 | en:User:Quadell | (tagged) |
20:47, 6 December 2004 | en:User:Bernard Helmstetter | (code fix up) |
03:57, 24 January 2003 | en:User:Loisel | |
03:57, 24 January 2003 | en:User:Loisel | (antialiased chessboard) |
Journal des téléversements d’origine
Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.
- (del) (cur) 13:33, 30 September 2005 . . en:User:Riumplus Riumplus ( en:User_talk:Riumplus Talk) . . 128x128 (11600 bytes) (Losslessly recompressed the image, shrinking file size by 2%)
- (del) (rev) 20:28, 24 January 2003 . . en:User:Loisel Loisel ( en:User_talk:Loisel Talk) . . 128x128 (11861 bytes) (slightly improved image)
Éléments décrits dans ce fichier
dépeint
image/png
fa9a8dcfe363a5a7c91af4f842de029a915d78c0
10 443 octet
128 pixel
128 pixel
Historique du fichier
Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.
Date et heure | Vignette | Dimensions | Utilisateur | Commentaire | |
---|---|---|---|---|---|
actuel | 17 mai 2023 à 11:50 | 128 × 128 (10 kio) | Phreneticc | Reduced file weight with FileOptimizer in lossless compression mode. | |
23 septembre 2010 à 05:09 | 128 × 128 (16 kio) | Ancient Anomaly | #808080 is NOT halfway between black and white, sRGB is not linear | ||
26 juillet 2010 à 11:09 | 128 × 128 (11 kio) | Technion | Revert to original version of 18 March 2006 by Maksim, so that the image faithfully corresponds to the original source code. [Last modified version by Dicklyon results in gray at top of image being significantly lighter than halfway (#808080).] | ||
23 décembre 2009 à 11:09 | 128 × 128 (12 kio) | Dicklyon | Adjust tone scale, since no gamma correction was included. | ||
18 mars 2006 à 18:53 | 128 × 128 (11 kio) | Maksim | La bildo estas kopiita de wikipedia:en. La originala priskribo estas: antialiased chessboard {{GFDL}} generated by this code, which I (Loisel 03:57 Jan 24, 2003 (UTC)) wrote myself <tt> #include <stdio.h> #include <stdlib.h> #include |
Utilisation du fichier
Les 54 pages suivantes utilisent ce fichier :
- Utilisateur:Aitzkora
- Utilisateur:Alex wpy
- Utilisateur:Alexpunx67
- Utilisateur:AnticRab
- Utilisateur:Arnaud Lambert
- Utilisateur:Azemazer
- Utilisateur:Bazaar
- Utilisateur:Benaddict
- Utilisateur:Bobby Disgracious
- Utilisateur:Br1dil
- Utilisateur:CGM
- Utilisateur:Carlitotard
- Utilisateur:Drvk
- Utilisateur:Drvk/box
- Utilisateur:Dryt
- Utilisateur:Evaunit666
- Utilisateur:Flack~frwiki
- Utilisateur:Flood lord
- Utilisateur:Floska33
- Utilisateur:Fourvière Hedgehog
- Utilisateur:Fritz Tabz Flipp
- Utilisateur:Groben
- Utilisateur:Henrax
- Utilisateur:It's-is-not-a-genitive~frwiki
- Utilisateur:Jena-Simon Arès
- Utilisateur:Lazyvee
- Utilisateur:Liberlogos/Archives (A)
- Utilisateur:Ltalbot01
- Utilisateur:Murker
- Utilisateur:Nautre125
- Utilisateur:Nfournon
- Utilisateur:Oaks
- Utilisateur:On6kb
- Utilisateur:Pmpmpm/Ma présentation, mes gouts, mes passions (Boites Utilisateurs)
- Utilisateur:Pulpinus
- Utilisateur:Rafspi72/Boîtes utilisateur
- Utilisateur:Sankhu/gouts
- Utilisateur:Sarwell
- Utilisateur:Shigilop
- Utilisateur:Skarock
- Utilisateur:Skmeo
- Utilisateur:Sm'z
- Utilisateur:Sonny Tuckson
- Utilisateur:Spoke
- Utilisateur:Step101
- Utilisateur:Sugars
- Utilisateur:Tannwell
- Utilisateur:Thor alansen
- Utilisateur:Tsunami330
- Utilisateur:Vekip8
- Utilisateur:Webfractales
- Utilisateur:Yuleesize
- Wikipédia:Boîtes utilisateur musique
- Modèle:Utilisateur ska
Usage global du fichier
Les autres wikis suivants utilisent ce fichier :
- Utilisation sur ar.wikipedia.org
- Utilisation sur ca.wikipedia.org
- Utilisation sur en.wikipedia.org
- Utilisation sur es.wikipedia.org
- Utilisation sur fa.wikipedia.org
- Utilisation sur it.wikipedia.org
- Utilisation sur lt.wikipedia.org
- Utilisation sur mk.wikipedia.org
- Utilisation sur ms.wikipedia.org
Ce document provient de « https://fr.wikipedia.org/wiki/Fichier:Antialiased.png ».