|
|
#1 |
|
Junior Member
|
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 |
|
|
|
|
|
#2 |
|
Iron Chef
(Reviewer) Join Date: Nov 2000
Location: Winamp Island
Posts: 3,039
|
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.
|
|
|
|
|
|
#3 |
|
Major Dude
|
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? |
|
|
|
|
|
#4 |
|
Whacked Moderator
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
|
|
|
|
|
|
#5 |
|
Major Dude
|
you would think that that would move the pixel at 0.5 to 0.6 though...
|
|
|
|
|
|
#6 |
|
Member
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
|
|
|
|
|
|
#7 |
|
Junior Member
|
check out one of unconed's dot superscopes :)
|
|
|
|
|
|
#9 |
|
Whacked Moderator
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,... |
|
|
|
|
|
#10 |
|
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 |
|
|
|
|
|
#11 |
|
Forum King
|
Do not bring up threads that are 8 months old!!!
|
|
|
|
|
|
#12 |
|
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 |
|
|
|
|
|
#13 |
|
Forum King
|
*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 |
|
|
|
|
|
#14 |
|
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. |
|
|
|
|
|
#15 |
|
Major Dude
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 |
|
|
|
|
|
#16 |
|
Major Dude
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!
|
|
|
|
|
|
#17 |
|
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
|
|
|
|
|
|
#18 |
|
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...
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|