I made a project that calculates Collatz Conjecture.
Type any number and it will calculate it.
I know. If the number is too large it clips off the screen. I'm working on fixing that.
The Collatz Conjecture is simple.
You pick any positive interger, then
If its odd:
$$n$$ $$=$$ $$3n$$ $$+$$ $$1$$
If its even:
$$n$$ $$=$$ $$n/2$$
The conjecture is, is that the number will always fall to 4 then get stuck in the loop 4, 2, 1, 4, 2, 1 $$...$$ While unproven, 295,147,905,179,352,825,856 numbers have been checked by brute force as of 2020.
I watched a video once where they showed another 2d visualization: https://youtu.be/094y1Z2wpJg?t=1195. If the result of 3n+1 is odd, you turn anticlockwise, if it's even, you turn clockwise.
p.s.: maybe let us know if you manage to get scrolling done. Would love to see that