Retour vers linversion et première image Ulule - Micmaths @Micmaths
Retour vers linversion et première image Ulule - Micmaths  @Micmaths
Uploaded May 2025 | Updated November 2026, 1 day ago
On discute de l'inversion et créer la première image de la collection "Images mathématiques"

pour vous abonner sur Ulule, c'est par là : fr.ulule.com/mickaellaunay

À suivre le code que nous avons fait. Allez aussi voir dans les commentaires qui proposent des variantes !

import math
from PIL import Image

width = 2480
height = 3508
C = width/2
R = width/2

echiquier = Image.new('RGB', (width, height), (255,255,0))

for x in range(width):
for y in range(height):
x0 = x-width/2+0.5
y0 = y-height/2+0.5
f = R**2/(x0**2+y0**2+0.000000000001)
x1 = x0*f
y1 = y0*f
cx = math.floor(x1/C)
cy = math.floor(y1/C)
color = ((cx+cy)%2)*255
echiquier.putpixel((x,y),(color,color,color))

echiquier.show()
Retour vers linversion et première image Ulule - MicmathsMystères sur échiquier avec Sherlock Holmes - Raymond Smullyan et lanalyse rétrogradeLes trous du cube - MicmathsOn fait tourner des hypercubes en live - #MathsdropDéveloppement et factorisation 2 (Une question didentité)On discute - FAQ - Myriogon #3Pi razy drzwi - czyli dziwne przypadki matematyki - MicmathsÀ quoi la trigonométrie sert-elle ? (Trigonométrie II)Théorie du jeu de Hex 2 (Existence dune stratégie gagnante)Le nombre dor - MicmathsLa case maximum possible au 2048 : 131072 - MicmathsDéveloppement et factorisation 3 (Forme développée et forme factorisée)
Mickaël Launay (Micmaths) |

Retour vers l'inversion et première image Ulule - Micmaths

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER