Skip to content

sharhar/Grapher2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grapher2D

A 2d graphing calculator.

Running

The latest git commit might be unstable. Please download the source code or builds from the "releases" tab for the repo.

Cloning

Use the --recursive flag when cloning the repo to copy the GLUI submodule with the rest of the repo.

Features

  1. Graphs functions using opengl.
  2. Has a 't' variable that mesures the amount of seconds since the function was submited to the grapher and a 'at' variable that mesures the amount of seconds since launch. They can be used to create moving functions.
  3. Very very fast since it uses the GPU to do all the calculations

Usage

Enter the equations into the textboxes and press the enter key to graph them. You can add and take away equation slots using the add graph and "X" buttons.

Compatibility

Must have an OpenGL 3.3 and GLSL 3.30 capable graphics card and drivers

Compiling

If you dont want to use the prebuilt binaries from the project website, then you can build the project yourself. To build the project use cmake to generate the respective build files for your OS (internet connection required to download all the dependecies). Then build. It will build all the dependencies and link them automatically. The Executable will be in the bin folder in the cmake build directory.

Dependencies

GLAD is used to load the OpenGL 3.3+ functions. The "glad" folder in the "src" folder contains all the glad code that was generated by the website.