JRM - Re Bouncing Cycloids
Moderators: BTT, andy55, b.dwall, juxtiphi
JRM - Re Bouncing Cycloids
I have been meaning to ask this question for weeks, have you noticed the Cycloids have no white outside edge as other WaveShapes have and, do you know how to correct this?
Regards BTT
Regards BTT
"correct" ??? ... "Correct" ??! ...
"CORRECT"?!!! ...
I may
have overstepped some creative liberties and decided that
was more appealing (to me anyway) than
(especially when 5 pointed)
for whatever reason, 'conB' must be assigned a constant, rather than the result of a function, i.e.,
If I misunderstood your question (which I seem to be prone to lately), please rephrase and I will take another stab at it...
j
I may
Code: Select all
conB=0 // (jrm)Code: Select all
conB=1 // Original Codefor whatever reason, 'conB' must be assigned a constant, rather than the result of a function, i.e.,
Code: Select all
"pos(sign(1-rnd(2)))" // random 0 or 1 (discrete)j
well ...
The only OTHER thing I can think of, is that most waveshapes just leave 'Pen' default to 1. Most (but not ALL) colormap schemes have 1 equate to White. You can change A11 to:
and see if THAT is what you want.
The original code had:
which SHOULD mean the value of Pen would be set between [.6, 1] inclusive ... ( 'clip()' -> 'clamp()', but SHOULD be superfluous here because the result would ALWAYS be between [0,1] inclusive, ANYWAY)
Maybe you would like:
which would have Pen equal to 1, half(?) of the time, and [.6,1] inclusive otherwise. Of course the value of Pen would remain static for the duration of each given invocation (i.e., NOT continuously changing).
j
Code: Select all
A11="1" // ".6 + rnd( .4 )" // pen clip() -> clamp() -> "superfluous here"
The original code had:
Code: Select all
A11="clip( .6 + rnd( .4 ) )", // pen Maybe you would like:
Code: Select all
A11="1 - pos(sign(1-rnd(2))) * rnd(.4)" // pen clip() -> clamp() -> "superfluous here"
j
O.K - You may well have thought I was totally mad before, this I think will confirm your suspicions.
I tried all three variations for A11 (one at a time) ran GF and, when the Bouncing Cycloids WaveShape loaded the Cycloids were not visible, just a black screen.
It gets worse, when I changed the Config back to it's original A11 setting the same thing happened. Luckily, I had a backup of the Config and, as soon as I replaced the existing Config with the backup every thing was back to normal ???.
Regards BTT
I tried all three variations for A11 (one at a time) ran GF and, when the Bouncing Cycloids WaveShape loaded the Cycloids were not visible, just a black screen.
It gets worse, when I changed the Config back to it's original A11 setting the same thing happened. Luckily, I had a backup of the Config and, as soon as I replaced the existing Config with the backup every thing was back to normal ???.
Regards BTT
when NOTHING else makes sense, it is time to question the source
Try creating individual test config files, each with a unique name. Lock down the Colormap and Flowfield as not to add to any confusion. Manually step through each config file and observe the differences. I have actually seen the situation when a waveform 'disappears' after a minimize/maximize window event and reappears after some time.
(I even went back to check if I shifted the use of 'A11' as not to be the driver of 'Pen', and THAT doesn't seem to be the case... in any of the versions!!)
Thanks for getting back to me.
I have followed your suggestions and, created three separate Configs, ran GF and, here are the results.
This code works perfect:-
This code shows the Cycloids in the background color, not good:-
This code works perfect:-
Many thanks.
Regards BTT
I have followed your suggestions and, created three separate Configs, ran GF and, here are the results.
This code works perfect:-
Code: Select all
A11="1" // ".6 + rnd( .4 )" // pen clip() -> clamp() -> "superfluous here"
Code: Select all
A11="clip( .6 + rnd( .4 ) )", // pen I ran GF with ColorMap and, FlowField Slideshows both on/off with no problems.A11="1 - pos(sign(1-rnd(2))) * rnd(.4)" // pen clip() -> clamp() -> "superfluous here"
Many thanks.
Regards BTT
Probably the Best Solution...
WaveShape= 1
Particle= [.4,.8] inclusive
Particle= [.4,.8] inclusive
Code: Select all
A11=".8-rnd( .4 )" // pen clip() -> clamp() -> "superfluous
:
:
Pen="select(dt, A11, 1)"Have only just noticed your last post (it's the water again). Your determination for perfection has once again proved worthwhile. This new code makes the WaveShape appear exactly as it should have done in the original.
Well done JRM.
Regards BTT
Well done JRM.
WaveShape= 1
Particle= [.4,.8] inclusive
Code:
A11=".8-rnd( .4 )" // pen clip() -> clamp() -> "superfluous
:
:
Pen="select(dt, A11, 1)"
Regards BTT