SDL Grapher

SDL Grapher

SdlGrapher allows you to plot graphs for mathematical functions with SDL 2.0 in C++.

Features

  • Horizontal / vertical scrolling.
  • Scaling with mouse wheel.
  • No rendering if the math function returns NaN or Infinity.
  • Movable axises. Screen => Math, Math => Screen unit converters.
  • Automatically calculate scale and axis position based on interval of the math function.
  • Pixel perfect rendering.

Copyright © 2019 — 2023 Alexander Mayorov. All rights reserved.