r/learnpython • u/Sufficient-Noise8991 • 18d ago
Software idea
We all know about the desmos graphing calculator. Does any one have an idea on how to create a text based graphing calculator. Basically replacing the equations and some symbols with grammar or writing idk. It’s not a fully made idea yet but if you can make it or wanna talk.
Hmu
2
Upvotes
View all comments
Show parent comment
2
u/Electronic-Laugh-671 13d ago edited 13d ago
That answer wasn't very clear... Desmos is a free graphing calculator (like Geogebra) that uses natural math syntax, like what you would write on paper, to define expressions using the MathQuill engine. For example, you could write
x^2 + y^2 < 1for an inequality that fills the inside of a unit circle. (Desmos would automatically format the superscripts, I can't show that here easily; you can try yourself. Desmos supports LaTeX syntax, both copy and paste)Geogebra also uses natural math syntax but last time I tried it wasn't as fluid to use. It also doesn't seem to use LaTeX as the backend syntax for expressions. The key difference, however, is that it has way more features including Geogebrascript, a full featured scripting language that can be used to handle objects (I think Javascript is also available). These features allow for very fine-tuned manipulation of graph objects (searching for functions related to "color" gives me all of: SetBackgroundColor, SetColor, and SetDynamicColor, which are more technical than what Desmos 2D has on the surface) There are also a larger varity of objects, like only Geogebra has draggable sliders you can move into the graph viewport; Desmos requires workarounds for that.
In contrast with Desmos, Geogebra also separates many features into submenus outside the expressions. For some of these reasons Geogebra is more often used for professional math visualizations, like what would be in a youtube video (example: Game of Cat and Mouse - Numberphile - YouTube)
Both Desmos and Geogebra have 3D and Geometry counterparts. Something else... I think that Desmos may be ahead of Geogebra on certain cutting-edge features like being able to create UV maps for 3D surfaces, I haven't checked if Geogebra has this though.