Physics can be so much fun! Specially to this wonderful Bassnectar tune. I personally found this truly mesmerizing... ~Marc D
Gmod Wiremod Expression2 chip gate code below.
I made this myself but please feel free to rip, alter, mutilate, mix-and-match, distort and twist it in any way you like. I hope you have lots of fun too! =)
Beware that YouTube might add in some sneaky spaces that can break the code. Validate and enjoy!
@name Vortex Storm
@inputs
@outputs Time X Y Z V:vector Grav Attraction AttrRad AttrMul Vortex VortexRad VortexMul
@persist Time X Y Z
@trigger
runOnTick(1)
if (first()) {
Grav = 1 #Turn on Zero-gravity field to be able to lift heavy stuff too
Attraction = 1 #Turn on containing field to prevent props being flung out
AttrRad = 1000 #Wired range for both Gravity and Attraction field
AttrMul = 350 #Wired force to pull props flung out back into the vortex field
Vortex = 1 #Turn on circular motion (vortex)
VortexRad = 400 #Wired range for vortex field
VortexMul = 300 #Wired force to spin around props with
}
Time++ #increase Time by 1 every Tick(1)
X = 0.5 + (sin(Time))/2 #Fluctuate from 0 to 1 and back
Y = 0.5 + (cos(Time))/2 #Fluctuate from 1 to 0 and back
Z = sin(Time) #Fluctuate from 0 to 1 to -1 to 0
V = vec(X,Y,Z):rotate(ang(0,X,0)) #Create a vector using fluctuating values, and rotate the entire vector constantly using a fluctuating value on the Y-axis
@jonny7808 I have to disagree 1000 times as hard as you humanly can possible.
MineIts 1 month ago 5
Looks amazing!
afrogedon 1 month ago 3