Skip to content

abdiToldSo/DesmoC

Repository files navigation

DesmoC 📈

A simple graphing calculator built in pure C++ with raylib for real-time graphing and visualization.

Features

  • Function Plotting: Visualize functions such as polynomials, trigonometric functions, exponential, and more.
  • Real-time Graph Updates: View changes to graphs instantly as functions are modified.

Screenshots

Graphing Calculator Demo

Prerequisites

  • C++ Compiler: Make sure you have a C++98 or later compiler.
  • raylib Library: This project requires raylib for rendering. You can install it using the instructions on the raylib installation page.

Installation

  1. Clone the Repository:

    git clone https://www.github.com/abdiToldSo/DesmoC
    cd DesmoC
  2. Install raylib: Follow the instructions on the raylib installation page to set up raylib for your operating system.

  3. Compile the Project: Assuming raylib is installed, compile the project with the following command:

    g++ -o DesmoC main.cpp -lraylib -lm
  4. Run the Application:

    ./DesmoC

Usage

  • Input Functions: Use the function input section to type mathematical expressions.

Supported Functions

This calculator can render a variety of functions, including:

  • Basic Arithmetic: +, -, *, /
  • Trigonometric Functions: sin(x), cos(x), tan(x)
  • Exponential and Logarithmic: exp(x), log(x), pow(x, y)
  • Polynomial Functions: Input polynomials like x^2 + 3x + 2

Acknowledgments

  • Thanks to Raysan & his work on Raylib
  • Inspired by my beloved graphing calculator, Desmos

About

Graphical Calculator in Pure C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors