Functions of Computer Animation in C Graphics
Functions of Computer Animation:
Pictures generate continuously and erase at consecutive locations to produce a moving effect. This process says Computer Animation.
Functions of Computer Animation in C:
Some following Functions of Computer Animation in C Graphics:
getimage(): This function uses for capturing a picture inside a rectangle by specifying the diagonally opposite corners. It has the following syntax:
getimage(x1, y1, x2, y2, bm);
putimage(): This function is used to display or copy the picture to a new location on the screen. It has the following syntax:
putimage(x, y, bm, op);
imagesize(): It uses for getting the number of bytes require to store a bit image. It has the following syntax:
imagesize(x1, y1, x2, y2);
malloc(): It is used to allocate a block of memory to store the data. It has the following syntax:
Functions of Computer Animation in Graphics:
Morphing: It is an animation function which uses for transforming the object shape from one form to another, it says Morphing. It is mainly used in Movies, Cartoons and PC Games.
Tweening: It is the process of generating intermediate frames between the initial & last final images. It is a very popular animation function in the film industry. Tweening is also known as ‘inbetweening‘.
Wrapping: It is a digital process that uses for manipulating an image such that any shapes portrayed in the image have been significantly distorted. It is mainly used for correcting any image and video distortion as well as for creative purposes.