**3. Generation of 2D and 3D Trajectories Using (Rational) Bernstein Polynomials**
