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

May 23, 2025Channel
AI Analysis
Data from YouTube Data API v3Updated Just now

Video Overview

Video Details

PublishedMay 23, 2025
DurationP0D
Video IDtwX30lGKpgU
Languagefr
CategoryEducation
PrivacyPublic
Made for KidsNo
Video TypeRegular Video

Performance Metrics

Views0
Likes1
Comments0

Description

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à : https://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()

Related Videos

More videos from Mickaël Launay (Micmaths)