Part 1: The basic idea

Our goal is to write programs which can produce video animations when compiled and executed. By following the steps below we can animate all classical systems, as long as we know the equation of motion.

FlowchartWe will need to write down the position at each instance of time in separate data files and then plot them on graphs and number them sequentially. These will be our frames for the animation. It is impractical to generate all these graphs manually, so we will need to automate the process and put it inside a loop. For combining these images and producing a video, Ubuntu users can conveniently use the command line program ‘ffmpeg’ (or ‘avconv’).

For writing into data files and plotting, I will write two modules which can be used (with necessary modifications) in all programs.

Part 2>>

Respond to Part 1: The basic idea

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s