ArthoPacini / functionDraw

A graphic library for the purpose of rendering mathematical functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphical function library

This library aims to provide a simple way to render mathematical functions, offering a simple graphical library and function interpreter. All instructions are in main.cpp file! <3

Output Images

First image, can be produce by running main Hello World image

1024 circles with different radius and positions Hello World image

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

GNU GCC Compiler OR Microsoft Visual C++ Compiler

Cloning, compiling and running

Instructions to compile on GNU GCC Compiler

git clone https://github.com/ArthoPacini/functionDraw
cd functionDraw/
make
./main

Goals

  • Draw lines, spheres, rectangles, triangles, multi-lines and polygons of different colors
  • Draw function from external file
  • Output .ppm and .bmp files
  • Interpret a mathematical expression and produce a result, utilizing constans, variables and operators + - * / ^
  • Improve expression interpreter to accept square root, sine, cosine and tangent functions

Contributing

Just pull a request, that's it i guess.

Authors

  • Artho Pacini - First implementation - Twitter

About

A graphic library for the purpose of rendering mathematical functions

License:MIT License


Languages

Language:C++ 98.3%Language:C 1.1%Language:Makefile 0.6%