Skip to contents

This function generates points on a conic spiral in 3D space.

Usage

conic_spiral_3d_row(a, b, c, w)

Arguments

a

Final radius of the cone.

b

Height of the object.

c

Inner radius.

w

Number of spirals.

Value

A matrix containing the generated points on the conic spiral.

Examples

set.seed(20240412)
conic_spiral_3d_row(1, 2, 0.5, 3)
#>               x         y        z
#> [1,] -0.3301886 -1.245201 1.101091