Old 12th December 2001, 23:59   #1
Huskyhush
Junior Member
 
Join Date: Dec 2001
Location: Kansas
Posts: 2
Send a message via ICQ to Huskyhush Send a message via AIM to Huskyhush
Unknown variables

Well as looking in other peoples presets I notice variables that I can't recall what they exactly mean. Any help would be great, but if none is given that is fine as well.
In the trans movement I have seen a t variable use. t stands for?

Superscope I see a lot of unknown variables. I also haven't done math for many years now so I may be a bit rusty. I see the t variable in this one as well. Are the g, b, r, variables short for green, blue, and red? I also see the s variable being used. s stands for?

Dynamic movement are the variables the same meaning as in other trans options? I see a c, f, m variables. I can make some guesses or maybe I will have to just mess around and figure them out on my own, but some simple answer can also be an added help.

Or maybe if the same variables mean the same thing, a run down of the variables would be awesome. I know many people are confused with these mathematical equations. I don't have the knowledge of all the functions, but if I did and got up my webpage making skills I would love to create a site for all new users, but since I'm not at that level I ask the high end creators to share some info.
Thanks
Huskyhush is offline   Reply With Quote
Old 13th December 2001, 15:41   #2
flatmatt
Iron Chef
(Reviewer)
 
flatmatt's Avatar
 
Join Date: Nov 2000
Location: Winamp Island
Posts: 3,036
These are all variables meaningless to AVS itself, but used for other stuff. You can have almost any variable you want. "monkey" could be a variable. "thechickenthatattackedyourhousewithaflamethrower" could also be a variable.
flatmatt is offline   Reply With Quote
Old 14th December 2001, 20:49   #3
deathazre
Major Dude
 
Join Date: Oct 2001
Location: behind the wheel of a Cat service truck
Posts: 1,847
Send a message via ICQ to deathazre Send a message via AIM to deathazre
superscope default variables:
x and y (duh) -1<x or y<1
i point on waveform/spectrum, 0<i<1
v value at i, -1<i<1
w,h width and height of renderer in pixels
red, green, blue 0<variable<1
n is how many samples per waveform
b is 1 if there is currently a beat, 0 otherwise
anything else is custom, sometimes people like to save pi to a variable, there are intermediate variables (say for making something be a certain color for more than one frame...)
in movement r is theta and d is... um... I haven't figured that out yet, because when you ADD to d, things move IN! I guess it's 1 minus the distance from the center... someone care to verify this?
deathazre is offline   Reply With Quote
Old 14th December 2001, 21:50   #4
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
d = distance :)

D is distance of course, but remember that you specify the *source* pixel for a given pixel.

If you're given r=0, d=0.5 and you say d=d+0.1, then it means that the pixel at d=0.5 will get the color that's currently at d=0.6... moving inward
UnConeD is offline   Reply With Quote
Old 14th December 2001, 22:39   #5
deathazre
Major Dude
 
Join Date: Oct 2001
Location: behind the wheel of a Cat service truck
Posts: 1,847
Send a message via ICQ to deathazre Send a message via AIM to deathazre
you would think that that would move the pixel at 0.5 to 0.6 though...
deathazre is offline   Reply With Quote
Old 16th April 2002, 21:39   #6
mucks
Member
 
mucks's Avatar
 
Join Date: Mar 2002
Location: canada/dolbeau city
Posts: 86
i got some problems with chara | % & i know what they are standing for (if then or)but i don't know how to make a good synthaxe with it...........i haven't seen yet an avs with those chara integratd in.......can you help me with these

Meow
mucks is offline   Reply With Quote
Old 17th April 2002, 17:59   #7
duo
Junior Member
 
duo's Avatar
 
Join Date: Apr 2002
Location: new york
Posts: 10
Send a message via AIM to duo
check out one of unconed's dot superscopes :)
duo is offline   Reply With Quote
Old 27th April 2002, 19:09   #8
NoSage
Junior Member
 
NoSage's Avatar
 
Join Date: Aug 2001
Location: Channahon
Posts: 47
Send a message via AIM to NoSage
UnConed's "dot superscopes are based on psuedorandum number generators. Go here to learn more about random numbers.here
NoSage is offline   Reply With Quote
Old 27th April 2002, 23:44   #9
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
Whoa, that looks like an excellent paper! Wish I had this when writing mine ... it works ok, but I haven't really tested it for randomness.

By the way, here's an explanation of | &:

- (a|b) converts a and b to integers and performs a binary OR on them (any bit that is 1 in either a OR b, is 1 in the result).
- (a&b) converts a and b to integers and performs a binary AND on them (any bit that is 1 in both a AND b, is 1 in the result).

% is the modulus operator. (a%b) calculates the remainder after dividing a by b (both operators are converted to integers first). For example:

14/3 = 4 + 2/3
So, 14 % 3 = 2.

28/5 = 5 + 3/5
So, 28 % 5 = 3

The modulus operator is useful 'wrapping' numbers inside an interval. For example, the value (a % 4) for a ranging from 0 to positive infinity, is always 0,1,2,3,0,1,2,3,0,1,2,3,...
UnConeD is offline   Reply With Quote
Old 2nd February 2003, 08:11   #10
cmeeco
Junior Member
 
Join Date: Jan 2003
Posts: 11
no fair, my brain hurts, and im nowhere besides what d does (though i cant figure out how to use it)

maybe its not good to study this at 1 in the morining
cmeeco is offline   Reply With Quote
Old 2nd February 2003, 12:17   #11
anubis2003
Forum King
 
anubis2003's Avatar
 
Join Date: Dec 2002
Location: middle of somewhere
Posts: 5,564
Send a message via AIM to anubis2003
Do not bring up threads that are 8 months old!!!
anubis2003 is offline   Reply With Quote
Old 2nd February 2003, 15:18   #12
Jaheckelsafar
Major Dude
 
Join Date: Feb 2002
Location: home
Posts: 1,318
There are many discussions in the forum about variables, and most are linked to from the FAQ. Atero's AVS primer is designed to give people a start in SSC and DM programming.

Man, people have been touchy about old threads being resurrected lately.

Stoke me a clipper. I'll be back for Christmas.

- Arnold Rimmer
Red Dwarf
Jaheckelsafar is offline   Reply With Quote
Old 3rd February 2003, 01:05   #13
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
*POINTLESSLY* ressurrected. I have no problem with someone digging up an old post to add to it. I DO have a problem with someone bringing up an old post with something like "PlZ xPl4Yn d00dz!!1"

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 23rd February 2006, 03:44   #14
examatic
Junior Member
 
Join Date: Nov 2004
Location: Bentonville, AR
Posts: 8
there are many AVS-ready variables or variable types that I have noticed in others' works. Such as R01, R02, ..., R50 - Which are 'universal' variables that may be referenced from one superscope after being set in another. Also I seen things like skip, linesize, etc....

If anyone has any extensive knowlege of these and/or more, that would be great.
examatic is offline   Reply With Quote
Old 23rd February 2006, 08:19   #15
PAK-9
Major Dude
 
PAK-9's Avatar
 
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
Posting in another 5 year old thread

examatic you may want to check out the first FOUR TOPICS RIGHT AT THE TOP OF THE AVS FORUMS

http://PAK-9.deviantart.com

...innit
PAK-9 is offline   Reply With Quote
Old 23rd February 2006, 21:19   #16
JFASI
Major Dude
 
JFASI's Avatar
 
Join Date: Jan 2005
Location: I was hoping you could tell me
Posts: 1,350
Holy Carp! I didn't even notice how old this one was!

Certified Spam Connoisseur.
JFASI is offline   Reply With Quote
Old 24th February 2006, 08:28   #17
Kar-mAVS
Member
 
Join Date: Jan 2006
Posts: 56
"Such as R01, R02, ..., R50 - Which are 'universal' variables..." Uh, no. The universal variables are reg##,andalso vavailiablefor your syncing needs is gmegabuf(). Skip is a ssc variable that over 0, does not draw the line/dotcurrently being compueted. Linesize is a SSC variable that only works when the SSC it set to lines. It sets the <b> Line Size</b> of the current point with a cap at 225. Come on, that one was obvious
Kar-mAVS is offline   Reply With Quote
Old 28th February 2006, 03:31   #18
examatic
Junior Member
 
Join Date: Nov 2004
Location: Bentonville, AR
Posts: 8
WOW,It's a good thing there is more help than <b>sarcasm</b> here...
examatic is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump