1. What is the code to make the SSC stay the same shape no matter what shape the AVS window is? (i.e. when I have the editor window open the AVS window is square, and it looks okay, but when I go fullscreen it stretches the scope out; how do I prevent this?)
2. If you follow the lines of my scope, you'll see that the two endpoints of the line don't meet, and there is an ugly-looking gap. I don't have anywhere near the level of math required to fix this (that, and I pretty much plugged in semi-random numbers :P ), so could one of you math geniuses please give it a shot? Here's the code:
Init:In case you're wondering, yes, I did just take one of the example scopes and change it around a bit. 😳
n=100;t=0;pi=3.1415926535897932384626433832795;
On Beat:
n=64+rand(128)
Per Frame:
t=t-pow((1/pi),2);
Per Point:
r=(i*pi)*(pow(2,10))+t;
x=cos(r/64)*0.7+sin(r*(1/pi))*0.3;
y=sin(r/64)*0.7+cos(r*(1/pi))*0.3
Any help would be greatly appreciated.