Interpolation of a robot joint trajectory is realized using trigonometric splines. This original application has several advantages over existing methods (e.g. those using algebraic splines). For example, the computational expense is lower, more constraints can be imposed on the trajectory, obstacle avoidance can be implemented in real time, and smoother trajectories are obtained. Some of the spline parameters can be chosen to minimize an objective function (e.g. minimum jerk or minimum energy). If jerk is minimized, the optimization has a closed form solution. This paper introduces a trajectory interpolation algorithm, discusses a method for path optimization, and includes examples.