This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Any one know how this website calculates it's torus?
https://www.plotz.co.uk/plotz-model.php?model=Torus
Basically, I'm trying to create a Linux bash script that summons particles at the spots the blocks are supposed to be that way I can see if I placed the correct by executing a function. (yes thought about using set blocks too)
I can get close with:
x=$(bc -l <<< "scale=6; ( s((${i}/10)*${pi}/180)*${radius} )") y=$(bc -l <<< "scale=6; ( c((${i}/10)*${pi}/180)*${radius} )")
But it's slightly off. Tired decoding the javascript the guy uses but can't locate the actual function plotting the x/z cords.
Any one know how this website calculates it's torus?
https://www.plotz.co.uk/plotz-model.php?model=Torus
Basically, I'm trying to create a Linux bash script that summons particles at the spots the blocks are supposed to be that way I can see if I placed the correct by executing a function. (yes thought about using set blocks too)
I can get close with:
x=$(bc -l <<< "scale=6; ( s((${i}/10)*${pi}/180)*${radius} )")
y=$(bc -l <<< "scale=6; ( c((${i}/10)*${pi}/180)*${radius} )")
But it's slightly off. Tired decoding the javascript the guy uses but can't locate the actual function plotting the x/z cords.