Enter a input to make a graph. Tap/Click "INPUT" to restart the sequence with a different number. Hover over the graph near points to display values. Press the + or - zoom buttons to zoom in/out, = to return to 100%. Use the Scroll Bar at the bottom to scroll through different locations in the graph while zoomed in. Press the Sun/Moon on the top right to toggle dark mode. The hailstone number sequence: If odd, #*3+1 If even, #/2 repeat until #=1
This project is mainly just for fun, maybe try getting a bizarre graph? Just thought of hailstone numbers again after getting into a topic about the Collatz Conjecture with a friend for some reason, and made a visualizer aiming to heavily improve on one that I made back in 2016. This was made in just a couple hours, so the code is somewhat spaghetti and not all things aren't perfect, but it works pretty well. Known Issues: - Graph disappears when zoomed in too far/input is 1 - Input does not accept numbers that display as "infinity" Changes: - Text display method tweaked, now spacing between all characters should be 1 and centering should be correct - Added a instant load button - Added graph unit(?)s