In: Computer Science
Here is the assignment: You will set key frames of transformations on objects in a 3D scene to create a procedural animation through only scripting code. It was suggested to make two poly spheres and have them bounce towards and then bounce into each other. The programming language is Python and then uploaded to Maya.
Python was introduced by Guido Van Rorsum.It was introduced during period of 1991 in National Research Institute for Mathematical and computer science in Netherlands
Key feature of Phyton:-
1.It is a general purpose language
2.It can be used for science and scientific programs
3.It is a platform independent language
Phython is a object oriented programming language. Unlike procedure oriented programming,where the main emphasis is on functions, object oriented programming stresses on objects.
An object is simply a collection of data(variable) and methods (functions) that act on theose data. Similarly,a class is a blueprint for that object.
We can think of class as a sketch (prototype) of a house. It contains all the details about the floors,doors, windows,etc. Based on these descriptions we build the house. House is the object.
As many houses can be made from a house's blueprint,we can create many objects from a class. An object is also called an instance of a class and the process of creating this object is called instantiation.
Frame a sentence on bounce back:-
1. Children often seem to bounce back from more quickly than adults do.
2. He is young enough to bounce back from this disappointed.
3. Whatever decision the president makes,it will bounce back on the feature of the country.
4. However,Big Mac is poised to bounce back.