Go Back   Winamp & SHOUTcast Forums > Search Forums

Showing results 1 to 19 of 19
Search took 0.00 seconds.
Search: Posts Made By: shreyas_potnis
Forum: AVS 17th January 2004, 10:51
Replies: 272
Views: 188,447
Posted By shreyas_potnis
Hey, if you want the number of seconds elapsed...

Hey, if you want the number of seconds elapsed after starting the AVS preset, use:
init:
sec=gettime(0);
frame:
t=gettime(sec);
Forum: AVS 5th September 2003, 05:58
Replies: 272
Views: 188,447
Posted By shreyas_potnis
Why? 1%3=1 2%3=2 3%3=0! 4%3=1 5%3=2 ...

Why?
1%3=1
2%3=2
3%3=0!
4%3=1
5%3=2
6%3=0!
I think I am right.
Forum: AVS 26th August 2003, 08:21
Replies: 272
Views: 188,447
Posted By shreyas_potnis
synched rand(2) would be something like. ...

synched rand(2) would be something like.

no=abs((getosc(something)+getosc(something))*bignumber)%3;
Forum: AVS 22nd August 2003, 08:06
Replies: 272
Views: 188,447
Posted By shreyas_potnis
Not necessarily, acos(-1) would return say about...

Not necessarily, acos(-1) would return say about 6 decimal places (dont know exaclt), but you can always use a calculator and obtain that value and write pi=3.14159265.. instead of pi=acos(-1)
Forum: AVS 12th August 2003, 10:14
Replies: 272
Views: 188,447
Posted By shreyas_potnis
Bunch of dm's I wrote in spare time...I hope...

Bunch of dm's I wrote in spare time...I hope someone can make good use of it.
DM Collection:
1) Binaculors

Frame:
t=t+.05;t1=t1+ti*.1;ti=ti*.9;
ox1=sin(t1)*.5*sin(t);oy=cos(t1)*.5;...
Forum: AVS 14th June 2003, 18:43
Replies: 272
Views: 188,447
Posted By shreyas_potnis
A very neat trick to darken the colours a little...

A very neat trick to darken the colours a little bit.
use an effect list with input replace and outpuit multiply. this will squrare the colours. as rgb are 0....1 then if RGB are not 0 or 1 their...
Forum: AVS 6th June 2003, 09:52
Replies: 272
Views: 188,447
Posted By shreyas_potnis
Metaballs dm, I made it some time ago: init:...

Metaballs dm, I made it some time ago:

init:
dc=1.2;g1=1;g2=1;

Frame:
bf=(bf+.1)/1.1;mov=tx1*tx2*tx3;af=h/w;
tx1=(tx1+dx1*.1)/1.1;ty1=(ty1+dy1*.1)/1.1;...
Forum: AVS 28th May 2003, 12:34
Replies: 272
Views: 188,447
Posted By shreyas_potnis
Conding the algo in AVS sort of makes it a bit...

Conding the algo in AVS sort of makes it a bit more complicated, so I just posted the algo here. No need to post the link, as I have copied whatever was preset on the page :)
Forum: AVS 27th May 2003, 08:34
Replies: 272
Views: 188,447
Posted By shreyas_potnis
RGB - HSL Convert the RBG values to the...

RGB - HSL

Convert the RBG values to the range 0-1
Example: from the video colors page, colorbar red has R=83%, B=7%, G=7%, or in this scale, R=.83, B=.07, G=.07

Find min and max values of R,...
Forum: AVS 13th May 2003, 15:54
Replies: 272
Views: 188,447
Posted By shreyas_potnis
i already used some of such code in the flow...

i already used some of such code in the flow contest to make the ssc :)
Forum: AVS 28th April 2003, 10:14
Replies: 272
Views: 188,447
Posted By shreyas_potnis
some friend of mine told that XOR is used in...

some friend of mine told that XOR is used in encryption.
e.g
if x XOR y = z
then y XOR z = x
( thats what he told me)
Forum: AVS 26th April 2003, 11:05
Replies: 272
Views: 188,447
Posted By shreyas_potnis
great, would be better if you would post the AVS...

great, would be better if you would post the AVS file
Forum: AVS 8th April 2003, 11:12
Replies: 272
Views: 188,447
Posted By shreyas_potnis
Conversion of polar co-ords. into rectangular...

Conversion of polar co-ords. into rectangular ones and vice-versa:

to convert polar co-ords. into rectangular ones, use:

x=sin(r)*d
y=cos(r)*d

to convert rectangular co-ords. into polar...
Forum: AVS 31st March 2003, 09:18
Replies: 272
Views: 188,447
Posted By shreyas_potnis
n00b mus be quie happ wih all his suff

n00b mus be quie happ wih all his suff
Forum: AVS 26th March 2003, 06:59
Replies: 272
Views: 188,447
Posted By shreyas_potnis
me too sent a private message to him! :D and...

me too sent a private message to him! :D
and what about the sticky?
Forum: AVS 25th March 2003, 07:53
Replies: 272
Views: 188,447
Posted By shreyas_potnis
rovastar did a good job here, merged the two...

rovastar did a good job here, merged the two threads, Thanks.
edit: What about converting this thread into a sticky? can we do that?
Forum: AVS 14th March 2003, 12:39
Replies: 272
Views: 188,447
Posted By shreyas_potnis
long essay

This one is all about the 2 in 1 scopes, I wrote all this when I was offline in notepad and then posted it here:
the previous two explainations just explained the concept, now here's the...
Forum: AVS 14th March 2003, 07:06
Replies: 272
Views: 188,447
Posted By shreyas_potnis
I have done that thing to improve the speed,...

I have done that thing to improve the speed, colourmaps and clips do the opposite!
i have already explained a bit of the code,but here's a detailed one.

set cn=cn+1 in point, this will increase...
Forum: AVS 13th March 2003, 07:20
Replies: 272
Views: 188,447
Posted By shreyas_potnis
Tips and Tricks 2

Tuggummi started the first one, but that was long ago. I am sure there will be many new tricks (and Tips).
Just post them here,
Here's one:

when the amount of ssc's is quite large then cramp all...
Showing results 1 to 19 of 19

 
Forum Jump