O'Reilly logo

WebGL Beginner's Guide by Brandon Jones, Diego Cantor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Interpolation

Interpolation greatly simplifies 3D object's animation. Unlike parametric curves, it is not necessary to define the position of the object as a function of time. When interpolation is used, we only need to define control points or knots. The set of control points describes the path that the object that we want to animate will follow. There are many interpolation methods in the literature; however, it is always a good idea to start from the basics.

Linear interpolation

This method requires that we define the starting and ending points for the location of our object and also the number of interpolating steps. The object will move on the line determined by the starting and ending points.

Polynomial interpolation

This method allows us ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required