Is it possible to take something like x^2+5 and have it generate this: https://i.stack.imgur.com/a0f8Q.gif
I’ll be using Python so anything based in Python would work, but I’m open to other solutions such as latex output.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sympy can output LaTeX code and MathML, from there you can create images or other forms of display, depending on what exactly you need. You’ll find some methods for that in this old StackOverflow question.
In theory, MathML would be ideal to display equations in a browser, but not all browsers support MathML.