For the Scratch Week 2025 Studio "Pixel Playground" Press 'M' on your keyboard to mute/unmute the music! The Kuvina Triangle displayed is the Sierpinski Triangle (Type: Binomial , #num: 2) How It Works: Enter a number from 2 - 1024 and click the green flag to draw the triangle. Pick 1 - 5 pixels for TILE WIDTH. The #num variable is effecting the modulo amount. The TILE WIDTH is how many pixels a tile covers in a line horizontally or vertically (since the tiles are square) Each colour is a different value (eg. num 6 can be blue) Then, press the spacebar to create a triangle! Modulo is the remainder of a division (e.g. 7 mod 3 = 1) You may have to wait for it to load as with TILE WIDTH 1, a list has to fill 172440 values and do operations. Using Prime number will give unique results, whilst composite numbers are a mix of their prime factors. Types: (Press the letter on your keyboard corresponding to the type) R - Regular. x=(a+b+c) mod #num B - Binomial. x=(a+c) mod #num P - Product. x=((a*b*c) +1) mod #num S - Psych. x=((a+b+c) +1) mod #num Y - Psych Shadow. x=((a-b+c) +1) mod #num (b is the most top-middle pixel; a to the left of it and c to the right of it)
The person who made the Kuvina Triangle and I took inspiration from is named Kuvina Saydaki. If you want to credit anyone, credit them and comment on their video "How I made my own Fractal" with username @Kuvina Saydaki (On yt, not Scratch) Grid drawer/renderer made by: @Griffpatch Music - Tranquility (by David Renda) Kuvina Triangles are 'Fractals' using modulo, etc.. There are many different types likes Regular, Skew, Shadow, Product and more. ❤️+⭐️ if you wanna support me or just like these mathy related projects! thx :) Made by: @Montoy_