Krash
6th February 2002, 08:04
I'm REALLY proud of this one.
No music response at all, and I make no apologies for it. In fact, if any of you can even think of a way of doing music response, I'll probably implement it. I thought of wave colour for response, but it would make things less pretty.
This preset is designed for relaxation. I suggest watching it with some nice soothing music. If you can't trip to this, then I'm sorry, but I can't help you =P
Many thanks to Geiss for helping me get the faux zoom equation right.
And last but not least: AVS - eat your heart out.
- Krash
Rovastar
6th February 2002, 09:36
Krash,
You have every right to be proud Krash. Lovely preset.:cool:
Damn you this mean I will have to try even harder to come up with something new. :mad: :D :p
I have a few ideas on what to do with it but first tell me couple things about it.
What denotes the a new circle appearing and which line(s) would I change to make a new circle appear?
ANd the same with rainpaint 1 what makes a drop appear. and how do I start a new one?
As we know it is hard work to understand what is totaly going of in each others presets (talking about me, you and Unchained here). BUt I like to try and do some mods I have a couple of ideas.
Cheers,
Rovastar
PS
Originally posted by Krash
And last but not least: AVS - eat your heart out.
With all this eating that AVS has been doing recently does it have any heart left?:)
Krash
6th February 2002, 10:51
Rightio, I'll do a quick explanation of rainpainting 2. Pretty much the same is true for rainpainting 1, except there's less variables to worry about (except there's one more "entity")
This will only be brief, and I hope you get it, 'cause I'm not keen on doing a full tutorial on this just yet =P
Okay, in rainpainting 2, we have these 4 lines (they are repeated 3 times, but that's irrelevant)
per_frame_4=ripple1x = if(equal(ripple1r,0),0.01*rand(100),ripple1x);
per_frame_5=ripple1y = if(equal(ripple1r,0),0.01*rand(100),ripple1y);
per_frame_6=ripple1s = if(equal(ripple1r,0),0.0001*(25+rand(25)),ripple1s);
per_frame_7=ripple1r = (ripple1r + ripple1s)*below(ripple1r,2.7);
These code the x and y co-ordinates of the center of the ripple, the speed at which it expands, and the current outer radius of the ripple.
When the preset begins, ripple1r is undefined, and so is 0. Ripple1x, y, and s therefore get randomised within a certain range. After that, ripple1r increases by ripple1s every frame, until it goes above 2.7 (the full diagonal of the screen is 2, the .7 is to give time for the back end of the ripple to leave the screen too). Once ripple1r hits this critical value, ripple1r is reverted to 0 (you sometimes see this, as a tiny spot of waveform which appears from time to time). So the next frame, ripple1x, y, and s are re-randomized.
So to answer you question, a "new" drop is formed (actually, it's the same drop, just relocated) when the corresponding ripple#r goes above 2.7
In rainpainting 1, it's when the drip#y value goes above 1.2
Note that if you want more than three simultaneous ripples, or more than four drops, you'll need to make further duplicates of the variables, plus change following lines to accomodate for them:
per_frame_16=q1 = if(equal(frame%3,0),ripple1x,if(equal(frame%3,1),ripple2x,ripple3x));
per_frame_17=q2 = if(equal(frame%3,0),ripple1y,if(equal(frame%3,1),ripple2y,ripple3y));
per_frame_18=q3 = if(equal(frame%3,0),ripple1r,if(equal(frame%3,1),ripple2r,ripple3r));
These equations alternate which particular set of variables are being acted on each frame. The presets run so fast because at any given moment, there is actually only one ripple/drip which is active. The high framerate makes it look like they're moving together.
per_frame_25=wave_mystery = q3-0.5;
Size of the circle is dependant on the outer radius of the CURRENT ripple (note I'm using q3, and not ripple#r)
If you're curious, I tried having four ripples at once, but it started looking too frame-y, and not like they were simultaneous.
Also, if you plan on using the different zoom centers with an exponential effect, Ryan gave me the full code to simulate it. I'll post it if you need it.
- Krash
Krash
6th February 2002, 12:17
I just fixed the residual waveform problem by putting the ripple#r lines before the ripple#x y and s lines. Please fix this up yourself, or download this fixed version.
- Krash
unchained
7th February 2002, 17:36
I tried to paste my stuff in and not ruin the effect, but I don't know how well I did...
Illusion
8th February 2002, 03:09
Very nice blending of effects there unchained... well done. And of course thanks to Krash for the very cool effect in his original preset.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.