Try dragging the number line left and right to change the position of the
point
.
Try scrolling or pinching to zoom in and out.
Try clicking on the number line then using your arrow keys to navigate.
Notes
type `setBase(3)` in your browser console with some number >= 2 to
change the number line's base!
type `setSpacing(100)` in your browser console with some number >= 1 to
change the spacing! Careful with spacings less than 30, they can make
your browser lag.
This project contains a bit of arbitrary precision number code, but the
number line still suffers from floating point number issues. I think I
am going to have to implement rational number operations to avoid all
issues.
When you zoom out or in really far, numbers get long and start
overlapping. How should I deal with this?
Would you prefer to see fractions rather than decimal / radix numbers?
I want to make it so you can drag the point.
Designing and coding this was trickier than I expected! It took a week!