ScratchData LogoScratchData
Back to Garffi's profile

Sierpiński Pattern

GAGarffi•Created March 8, 2024
Sierpiński Pattern
8
3
72 views
View on Scratch

Instructions

★English The principle is relatively simple: We generate a first line with a color for each pixel, either blue (or another) or white. For each pixel of each next line, we look at the three pixels above (top left, above and top right): if there are 1 or 2 colored ones, we put the pixel in blue (or another color ), otherwise (if there are 3 or 0 colored pixels), we set the pixel to white. ★Français Le principe est relativement simple : On génère une première ligne avec pour chaque pixel une couleur, soit bleu (ou une autre) soit blanc. Pour chaque pixels de chaque prochaine ligne, on regarde les trois pixels au dessus (en haut à gauche, au dessus et et haut à droite) : si il y en a 1 ou 2 coloré, on met le pixel en bleu (ou autre couleur), sinon (s'il y a 3 ou 0 pixels colorés), on met le pixel en blanc.

Description

#math #fractal #science #Sierpinski #calcul #geometry #art Go on Turbowarp ❗ https://turbowarp.org/979315263?turbo 89 blocs 1 Sprite Source : El Jj https://www.youtube.com/shorts/xmRWuk7swkc

Project Details

Project ID979315263
CreatedMarch 8, 2024
Last ModifiedJanuary 25, 2025
SharedMarch 8, 2024
Visibilityvisible
CommentsAllowed