E
E
Egor Panfilov2016-11-28 22:21:15
3D
Egor Panfilov, 2016-11-28 22:21:15

How to build an animation of a graph using a table of coordinates?

Based on the results of the program, an array of data is generated - state vectors, each of which consists of 3 Cartesian coordinates and is tied to a fixed point in time.
How, based on these data, to build the evolution of the state vector in time with the preservation of the trajectory of motion?
In statics, Maple and gnuplot do an excellent job of this. In the latter, I even tried to implement a script that plots the trajectory for each moment of time, but with ~ 8000 tables, it starts to choke.
According to the recommendations from this article, I was able to make a sane animation (only I used ffmpeg instead of avidemux), but the generation of each "frame" takes a very long time over time.
Of course, I'm going to optimize the script, make fewer points on each graph and apply other tricks, but I would be interested to know other methods for solving a similar problem.
Thanks for answers.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question