@name Helicoid
@outputs X Y Z
@persist Time Theta
runOnTick(1)
if(first()){holoCreate(0),
    holoModel(0,"sphere"),
    holoEntity(0):setTrails(30,30,1,"trails/laser",vec(255,0,0),255)}
Entity=entity()
At=Entity:toWorld(Entity:boxCenter())

#Edit Theses Values
Time+=1.5
Distance=70
Radius=50
Pitch=10
#------------------


#Calculate X Y and Z
Theta=sin(Time)^2*Distance
X=Radius*cos(Pitch*Theta)
Y=Radius*sin(Pitch*Theta)
Z=Theta

#Move the Holo
holoPos(0,At+vec(X,Y,Z))