Skip to content

nicklayden/PhasePlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhasePlot

C++ plotting utility using OpenGL 2.0 for 3D drawing.

Basic functionality is as follows:

Define functions of the form

f: R^2 -> R

Define a grid for the domain of the function

X = [a,b] Y = [c,d] D = X x Y

Necessary libraries to run this program

  • Boost C++ Libraries (Program Options specifically)
  • OpenGL 2.0 (freeglut)
  • SFML

Quick Installation of these libraries

To install the above libraries, run the following shell commands on linux (Ubuntu)

    sudo apt-get install libsfml-dev
    sudo apt-get install libboost-all-dev
    sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

Or all together as

    sudo apt-get install libsfml-dev libboost-all-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

Compiling and Running

The compilation of this program has been put into a Makefile, adding modules to the program will need to be reflected in the Makefile for proper compilation and linking. The following command will invoke the Makefile and when completed, start the program.

    make && ./plot

About

C++ plotting utility using OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published