PDA

View Full Version : cool my second preset

ssj2gohan1018
23rd April 2002, 21:36
i made a new preset wow:D its not as good as my first but still cool:p so take a look! if you dont have my first preset i put it in the zip as well ok;)

Jaheckelsafar
24th April 2002, 08:58
I liked Deathstar.

Particle storm, I found too little was going on too fast. If it was slowed down so you can tell what's going on it might be better.

ssj2gohan1018
24th April 2002, 21:15
death of a star is my fav but i actuly thought partical storm went to slow but it needs somthin else i dont know what can you give me some ideas

ShoutingMime
24th April 2002, 22:55
Here's a simple remix for ya...

ssj2gohan1018
25th April 2002, 00:28
nice howd you do that thats sweet man sept it goes to slow and isent dramatic enoph for me

anyway i made a new one its not to good considering it took only 15 minits

ShoutingMime
25th April 2002, 01:27
Too slow eh? lol that's cool though... My thought on that... speed it up...
Movement:
d=sin(d*3.14159)/3.14159;

You know that 3.14159 is pi... when you take sin and * it by pi / by pi you get the circle... if you want a tiny circle change the movement to something like d=sin(d*3.14159)/7.14159; and if you like a bigger circle change it to d=sin(d*3.14159)/1.14159;.

The Speed could be changed by adding another movement... such as D=atan(d)

Anyways, glad you liked it, I went ahead and remixed it again and added a bit more spice to it...

UnConeD
25th April 2002, 01:43
Note that sin() has an output range of -1...1, so dividing the output by pi is not necessary. Also remember that a divide is many times slower than a multiply, so try to multiply with the inverted value (1/x) when dealing with a constant.

ShoutingMime
25th April 2002, 02:01
UnConeD- Thanks for the tip... I've started to see that I do most of my movements and DMs the long, slow and hard way... but I've just started to dive into movements w/o the ol' copy and paste bit.
Still have a problem with my randam vars... :cry: like in simple color shifts... cb=rand(100/100)
blue=cb and so on
it's dull... I've seen the color codes you have in all you packs, it just blows me away... oh well I'll get the hang of it someday..

ssj2gohan1018
25th April 2002, 18:58
thanks for the tips(i dont understand a word of it i dont know the math but thanks anyway)

Zevensoft
26th April 2002, 07:07
Try this for colour-coding:

red=((.5+sin((h+(2/3))*pi)/2)*s+(.5+sin((h)*pi)/2)*(1-s)+(.5+sin((h-(2/3))*pi)/2)*(1-s))*b;
green=((.5+sin((h)*pi)/2)*s+(.5+sin((h+(2/3))*pi)/2)*(1-s)+(.5+sin((h-(2/3))*pi)/2)*(1-s))*b;
blue=((.5+sin((h-(2/3))*pi)/2)*s+(.5+sin((h)*pi)/2)*(1-s)+(.5+sin((h+(2/3))*pi)/2)*(1-s))*b;

Then, just set h, s, and b (Hue, Saturation, and Brightness respectively) before those three lines.

ShoutingMime
4th May 2002, 23:29
Wow, that's a hell of a random.... ummm one prob... it only works half the time.