Use the slider to change n and click the values above the graph to toggle Left, Right, and Trapezoidal sums. Open the menu by clicking the icon in the bottom right or by pressing space. You can:
- Enter a custom f(x) [see math.js docs for all supported functions]
- Set the bounds for the graph window / interval
- Set the grid cell size (ticks)
- Set a new max value for n, where n is the # of subintervals
- padding around graph
- midpoint sum
- variable function
- simple UI controls, scaling text
- could use noloop(), only redraw on slider change?
- separate grid lines and labels (lines behind, labels in front)
- readme.md
- handle prompt cancel
- autoscale on window resize
- check for e and pi in entered bounds
- fix exta // missing (?) point bug
- change bound entry to signed values, allow for [+a, +b] and [-a, -b]
- rename xRange/yRange to domain/range
- add buttons for changing tick #, type, n, and function
- draw labels inside of graph view
- validation for bounds and f(x) input
- display active function
- menu entries shouldn't close menu when prompt is canceled (see bounds)
- rewrite hastily crafted button class (pls)
- floating point precision (small #s) [detect magnitude on bound entry?]
- sum buttons should be pushed to left, with a standard space inbetween
- dolan suggestions
- implement own text entry / dialog for f(x) prompt
- 'usable' on mobile
- line length...