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 /r/cpp_questions

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • 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 https://processing.org/ 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 📊🗾

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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: https://github.com/nothings/stb/blob/master/stb_image_write.h

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