Nutcracker: new effect, butterfly wing

smeighan

Dedicated elf
Joined
Jan 19, 2012
Messages
1,109
Location
4217 Greenfinch Dr CO 80126
I came across this equation that simulates the color on a butterfly wing.
http://mathworld.wolfram.com/ButterflyFunction.html





So , you now have a new effect.
The RADIAN_SHIFT parameter is how much each frame the colors are shifted. I found values between .05 and .1 are good. The higher the number the faster the shift across the tree.




username f
user_target ZZ_ZZ
effect_class butterfly
effect_name FLY1
window_degrees 180
start_color #FFFFFF
end_color #FFFFFF
frame_delay 50
sparkles
seq_duration 5
radian_shift .05
submit Submit Form to create your effect



If you increase the radian shift, you get faster color movement


_POST
username f
user_target ZZ_ZZ
effect_class butterfly
effect_name BUTTERFLY2
window_degrees 180
frame_delay 50
sparkles
seq_duration 5
radian_shift .3
submit Submit Form to create your effect





And if your show has heavy metal, try a radian shift of 1.0
 

smeighan

Dedicated elf
Joined
Jan 19, 2012
Messages
1,109
Location
4217 Greenfinch Dr CO 80126
budude;203010 said:
Sean - - I don't think you truly realize what your tool means to everyone even "sort of" thinking of getting pixels - you've not only made it mind numbingly simple but also free. Even a basic Madrix license costs $500 and one to get to a good number of pixels is closer to $1500. I knew Madrix was out so I for one was resigned to generating simple chases, etc with my new tree - but now that has completely changed.


I'm sure quite a few of us would be more (and I mean MORE) than happy to kick in a few bucks to support you - better/faster web hosts, better PC, etc

Thanks for the support. I will put a pay pal donate if anyone wants to kick in a few bucks to offset some of my costs. It is NOT needed and the tool will stay free.


I have released a new verdsion of the butterfly effect.


Now you can define the color range that the butterfly wing will have.


Set START and END color to #FFFFFF and you will get the entire color spectrum.


Here are some examples of using a smaller color band.


_POST
username f
user_target ZZ_ZZ
effect_class butterfly
effect_name BUTTERFLY4
window_degrees 180
frame_delay 50
sparkles 0
seq_duration 5
radian_shift .1
start_color #FF0313
end_color #0505FF
submit Submit Form to create your effect







_POST
username f
user_target ZZ_ZZ
effect_class butterfly
effect_name BUTTERFLY5
window_degrees 180
frame_delay 50
sparkles 0
seq_duration 5
radian_shift .1
start_color #3D3D3D
end_color #D6FFE0
submit Submit Form to create your effect



Be aware that my animated gif's only use 256 colors. This causes banding on the animations, that should not be true on our actual trees.


thanks
 

smeighan

Dedicated elf
Joined
Jan 19, 2012
Messages
1,109
Location
4217 Greenfinch Dr CO 80126
Charles Belcher said:
Sean,


Have you made a model whereby we can construct an element with curves?


Charles

Not yet, i have maybe 30-50 new effects in my plan. curves is certainly one of them.


avi movies
fireworks using physics for the particles
snow in a snowstorm, particle movements
lots of f(x,y) functions. Look to the demo gallery on http://gnuplot.info for some ideas


.etc
 

smeighan

Dedicated elf
Joined
Jan 19, 2012
Messages
1,109
Location
4217 Greenfinch Dr CO 80126
smeighan;203309 said:
short answer is yes. But i need to bring the radian back to the same value we started with. I need to calculate total radian shift and get it to come back to original value after maxFrams.
I dont like the jump either. Just more stuyff on my to do list.


sean

Ok,


Enhancement.


I now readjust your radian shift parameter so that it is a multiple of 2pi


You pass in a variable called $radian_shift. This is what causes the movement betweem frames. The issue is it was not an even multiple of 2pi over the frames.


This corrects your entry.


$new_radian_shift = intval(($maxFrame*$radian_shift+0.5)/$pi2)*$pi2/$maxFrame;


some examples


radian_shift new_radian_shift
.01 .0785
.05 .0785
.1 .2355
1.0 .942
3 2.983
7 6.9865


You just pick values, ill make them into a multiple of 2pi and the max frames.


try Butterfly now, there should be no jumps.


thanks
 

smeighan

Dedicated elf
Joined
Jan 19, 2012
Messages
1,109
Location
4217 Greenfinch Dr CO 80126

Charles Belcher

New elf
Joined
Mar 14, 2012
Messages
45
Location
Dallas, Texas
Sean,


I am trying to relate the one you listed to some type of Christmas element. That looks more like a grid in Blender that is used to warp video than it does a matrix grid.


I will stay tuned. Either next month or May, I am buying enough pixel ribbons and controllers to demo each one of these designs with LOR S3. Should be fun.


Charles
 

smeighan

Dedicated elf
Joined
Jan 19, 2012
Messages
1,109
Location
4217 Greenfinch Dr CO 80126
New feature.


Butterfly now has 3 equations u can use


1)





2) sin(x*x + y*y) / (x*x + y*y)



3) sin(x) * cos(y)



New option , butterfly fomula. Values 1,2 or 3


So , leaving all other parameters alone, here is formula 1 (our original butterfly wing).


_POST
username f
user_target ZZ_ZZ
effect_class butterfly
effect_name FLY_FORM1
window_degrees 180
frame_delay 50
sparkles 9
seq_duration 5
formula 1
radian_shift .05
start_color #FFFFFF
end_color #FFFFFF
background_chunk 0
background_skip 0
background_color #000000
submit Submit Form to create your effect





Here is formula 2
_POST
username f
user_target ZZ_ZZ
effect_class butterfly
effect_name FLY_FORM2
window_degrees 180
frame_delay 50
sparkles 9
seq_duration 5
formula 2
radian_shift .05
start_color #FFFFFF
end_color #FFFFFF
background_chunk 0
background_skip 0
background_color #000000
submit Submit Form to create your effect





Here is formula 3, i kind of like this one
_POST
username f
user_target ZZ_ZZ
effect_class butterfly
effect_name FLY_FORM2
window_degrees 180
frame_delay 50
sparkles 9
seq_duration 5
formula 3
radian_shift .05
start_color #FFFFFF
end_color #FFFFFF
background_chunk 0
background_skip 0
background_color #000000
submit Submit Form to create your effect



 
Top