DiyLightAnimation

Software => Nutcracker: RGB Effects Builder => Topic started by: smeighan on March 19, 2012,

Title: Nutcracker: new effect, butterfly wing
Post by: smeighan on March 19, 2012,
I came across this equation that simulates the color on a butterfly wing.
http://mathworld.wolfram.com/ButterflyFunction.html

(http://mathworld.wolfram.com/images/equations/ButterflyFunction/NumberedEquation1.gif)

So , you now have a new effect. I am going to fix the shift going from maximum strands to strand 1. This causes the break in the pattern.
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 fater 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
(http://meighan.net/nutcracker/effects/workspaces/2/ZZ_ZZ+BUTTERFLY1.gif)


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

(http://meighan.net/nutcracker/effects/workspaces/2/ZZ_ZZ+BUTTERFLY2.gif)

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

(http://meighan.net/nutcracker/effects/workspaces/2/ZZ_ZZ+BUTTERFLY3.gif)
Title: Re: Nutcracker: new effect, butterfly wing
Post by: smeighan on March 19, 2012,
Quote from: budude;203010
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 version 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 where the start and end are something other than #FFFFFF

_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

(http://meighan.net/nutcracker/effects/workspaces/2/ZZ_ZZ+BUTTERFLY4.gif)


_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
(http://meighan.net/nutcracker/effects/workspaces/2/ZZ_ZZ+BUTTERFLY5.gif)

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
Title: Re: Nutcracker: new effect, butterfly wing
Post by: Rod R on March 20, 2012,
Cool looking effect Sean keep up the good work.  <res.
Title: Re: Nutcracker: new effect, butterfly wing
Post by: Gary on March 21, 2012,
It's funny how there arguably isn't a problem on this planet that can't be solved by math!
Title: Re: Nutcracker: new effect, butterfly wing
Post by: smeighan on March 23, 2012,
New feature.

Butterfly now has 3 equations u can use

1) (http://mathworld.wolfram.com/images/equations/ButterflyFunction/NumberedEquation1.gif)


2) sin(x*x + y*y) / (x*x + y*y)
(http://gnuplot.sourceforge.net/demo_4.6/hidden.3.png)

3) sin(x) * cos(y)
(http://gnuplot.sourceforge.net/demo_4.6/hidden.4.png)

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

(http://meighan.net/nutcracker/effects/workspaces/2/ZZ_ZZ+FLY_FORM1.gif)

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

(http://meighan.net/nutcracker/effects/workspaces/2/ZZ_ZZ+FLY_FORM2.gif)

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
(http://meighan.net/nutcracker/effects/workspaces/2/ZZ_ZZ+FLY_FORM3.gif)