Making Animation with Scilab

First, we consider a simple one-dimensional case to illustrate the basic idea of animation.

Suppose a point moves on the x-axis with time. If the positions of the point are given for a fixed time interval as x = x_{1}, x_{2}, x_{3}, ..., then an animation of the moving point can be made by looping the following 1-3. Assume the point is represented by a small circle. (See Figure 1.)

**Erase**the previous circle**Draw**a circle at x = x_{ i}- i = i + 1

Figure 1: Animation of a moving point (1D)

Sponsor Link

© 2010-2020 Sky Engineering Laboratory

We provide consulting and engineering services on analysis and control of mechanical systems.

We provide consulting and engineering services on analysis and control of mechanical systems.