animated curves with cardinal splines