Generates a tibble with columns t, x, y, z by evaluating
the parametric curve \((X(t), Y(t), Z(t))\) on the interval
\([a, b]\) at a given number of sample points.
Usage
curve_sample3d(X, Y, Z, a, b, n_samples = 400)
Value
A tibble with columns t, x, y, z,
where x = X(t), y = Y(t), z = Z(t).
Arguments
X, Y, Z
Functions of one variable t, e.g. function(t) 2 * cos(t).