You can type ANY number (or „r“ for a random one) and then the algorithm starts: Firstly it divides the number by two and then checks if it’s a even or odd number. And when it’s odd the number gets multiplied by three and increased by one. Click on ‚Demo‘ to see it visualized. —— #math #theory #interesting #science #all #input #mathematics #art
I saw a video about this and thougt: „hmmm… interesting… I should Build this in ScRaTcH! ✨“ Code & Art & Idea by me. ————————————————————————— This project is part of the old projects collection of mine: >> https://scratch.mit.edu/studios/51682531/