Author Topic: Nutcracker: new effect, butterfly wing  (Read 2023 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Nutcracker: new effect, butterfly wing
« on: March 19, 2012, »
I came across this equation that simulates the color on a butterfly wing.
You are not allowed to view links. Register or Login



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



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, maybe a radian shift of 1.0

« Last Edit: March 19, 2012, by smeighan »
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: new effect, butterfly wing
« Reply #1 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




_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
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline Rod R

  • Coop Manager
  • Sr. Member
  • *
  • Posts: 902
Re: Nutcracker: new effect, butterfly wing
« Reply #2 on: March 20, 2012, »
Cool looking effect Sean keep up the good work.  <res.

Offline Gary

  • Sr. Member
  • ****
  • Posts: 554
    • Diamond Crescent
Re: Nutcracker: new effect, butterfly wing
« Reply #3 on: March 21, 2012, »
It's funny how there arguably isn't a problem on this planet that can't be solved by math!
You are not allowed to view links. Register or Login

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: new effect, butterfly wing
« Reply #4 on: March 23, 2012, »
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
« Last Edit: March 23, 2012, by smeighan »
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login