How can I create animation of mathematical function that changes over time in c++ and save it as video

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • processing

    Source code for the Processing Core and Development Environment (PDE)

    But honestly C++ is not the right tool for this, even though you technically can do all of that. I suggest you use something like which is quite literally made to do animations and then use OBS or something similar to record your screen into a video.

  • matplotplusplus

    Matplot++: A C++ Graphics Library for Data Visualization 📊🗾

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • manim

    Animation engine for explanatory math videos

    Manim is made for this. Made by 3Blue1Brown, a YouTuber who makes great mathematical YouTube videos.

  • stb

    stb single-file public domain libraries for C/C++

    STB has a single file header-only library that can write PNG images if you want to keep your dependencies simple at the expense of supporting some exotic formats and features:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts