Archive: help on preset


3rd July 2006 23:30 UTC

help on preset
i've finally got this where i wanted to preview it. the only thing i need help on now is how to make the scopes and clocks stay inside the circles without leaving the borders. and yes i've tryed all sorts of aspect corrections. even / instead of * on the asp codes. wahhh!! :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:


3rd July 2006 23:32 UTC

i hate this return feature
agh here is the file. i had to correct the first post and forgot to put the attachment on it. anyway tell me what you think. and remix to your heart content. strangest thing is. that i dreamt making this preset. this is what it looked like in my dream.


4th July 2006 07:02 UTC

Ok, I read this three times and I still don't know what you want. Anyway, your coding is for shit. You've made it way too complicated to make a circle. Try this:

init:
n=50; (example)
p=acos(-1);
p2=p*2;
size=.25; (example)

frame:
asp=w/h;

point:
r=i*p2;
x=size*cos(r);
y=size*sin(r)*asp;


4th July 2006 20:09 UTC

p=acos(-1); ?! :eek:
Welcome to the 21st century where we have $pi


5th July 2006 00:53 UTC

I don't like $pi. It looks ugly and is messy to me. :p


5th July 2006 13:25 UTC

You sort of had the right idea but you didnt take account of the order of operations. Writing:

x=r*cos(a)-.6*asp;

Is the same as writing:

x = (r * cos(a)) - (.6 * asp);

So as you can see it will only aspect ratio correct the offset (0.6) as opposed to the whole expression. You actually want something like:

x=(r*cos(a)-.6)*asp;

See attached preset


5th July 2006 21:41 UTC

Thanks
I'm very thankful for your help. heh.
oh and just something i ought to tell you. the clock hands are actualy the sweep example without the osc detection. heh
anyway thanks for the ideas and assists, i really appreciate the help.


18th July 2006 00:12 UTC

Yay
This has got to be the best preset i've made. its experimental.

and if anyone knows who made the 3d beat ring example of the TexerII please tell me. i'm please because i used its 3d engine to make what i believe to be a hyper torus.


18th July 2006 00:25 UTC

From the AVS Expression Help Texer II tab:

"Texer II was written by Steven Wittens. Thanks to everyone at the Winamp.com forums for feedback, especially Deamon and gaekwad2 for providing the examples and Tuggummi for providing the default image."

Chances are good that either Deamon or gaekwad2 provided the 3D Beat Rings example.