Skip to content
Forum Archive

cool my second preset

11 posts

ssj2gohan1018#

cool my second preset

i made a new preset wow😁 its not as good as my first but still cool😛 so take a look! if you dont have my first preset i put it in the zip as well ok😉
Jaheckelsafar#
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#
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#
Here's a simple remix for ya...
ssj2gohan1018#
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#
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#
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#
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... 😢 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#
thanks for the tips(i dont understand a word of it i dont know the math but thanks anyway)
Zevensoft#
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.