Code Cleanup For Fraction Visualizer

I did some code cleanup for the pie graph fraction visualizer. The code now renders the initial pie graph in the same location as subsequent renders after pressing the display button. It also displays an error for floats rather than silently taking the floor of the number. I added some additional instructions and static Mathjax to the page as well. The static MathJax uses AsciiMath in order to be easier to understand if the text is not rendered with JavaScript. The dynamic math still uses the TeX format since I have not yet been able to render AsciiMath dynamically. This would be a good future addition.

Additionally, I’ve changed the timezone for WordPress from UTC to Pacific Daylight Savings Time (PDT). This will improve the accuracy of the blog dates here.


Posted

in

by

Tags: