@name Polymorph's vortex
@inputs 
@outputs 
@persist T R
@trigger all
if(first()){
createHolo(1)
holoColor(1,vec(85,0,0))
createHolo(2)
holoColor(2,vec(170,0,0))
createHolo(3)
holoColor(3,vec(255,0,0))
createHolo(4)
holoColor(4,vec(0,85,0))
createHolo(5)
holoColor(5,vec(0,170,0))
createHolo(6)
holoColor(6,vec(0,255,0))
createHolo(7)
holoColor(7,vec(0,0,85))
createHolo(8)
holoColor(8,vec(0,0,170))
createHolo(9)
holoColor(9,vec(0,0,255))
R = 200
}
interval(10)
holoPos(1,entity():owner():pos() + vec(sin(T*1.5)*R,cos(T*1.5)*R,40))
holoAng(1,ang(T,T,T))
holoPos(2,entity():owner():pos() + vec(sin(T*1.4)*(R+20),cos(T*1.4)*(R+20),40))
holoAng(2,ang(T,T,T))
holoPos(3,entity():owner():pos() + vec(sin(T*1.3)*(R+40),cos(T*1.3)*(R+40),40))
holoAng(3,ang(T,T,T))
holoPos(4,entity():owner():pos() + vec(sin(T*1.2)*(R+60),cos(T*1.2)*(R+60),40))
holoAng(4,ang(T,T,T))
holoPos(5,entity():owner():pos() + vec(sin(T*1.1)*(R+80),cos(T*1.1)*(R+80),40))
holoAng(5,ang(T,T,T))
holoPos(6,entity():owner():pos() + vec(sin(T)*(R+100),cos(T)*(R+100),40))
holoAng(6,ang(T,T,T))
holoPos(7,entity():owner():pos() + vec(sin(T*0.9)*(R+120),cos(T*0.9)*(R+120),40))
holoAng(7,ang(T,T,T))
holoPos(8,entity():owner():pos() + vec(sin(T*0.8)*(R+140),cos(T*0.8)*(R+140),40))
holoAng(8,ang(T,T,T))
holoPos(9,entity():owner():pos() + vec(sin(T*0.7)*(R+160),cos(T*0.7)*(R+160),40))
holoAng(9,ang(T,T,T))

T+= 1

