Written in C++ using SFML graphics and TinyExpr++ expression parsing.
The settings are defined in constants.h
:
#define FONT_SIZE 20
#define WINDOW_WIDTH 1000
#define WINDOW_HEIGHT 1000
#define X_MAX 10
#define Y_MAX 10
#define RENDER_STEP 0.01
#define THICKNESS 10
Load the solution into Visual Studio, link dependencies, and build. If you get unresolved external symbol
errors, try cleaning the build before building again.
The program can be built on UNIX/Linux systems using the Makefile.
Set the sfml_include
and sfml_lib
variables to the directories where SFML is installed on your system.
Separate your equations using spaces
calc x x^2 sin(x) sin(x)*cos(x)