Author Topic: Nutcracker, new effect, snowstorm  (Read 1300 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Nutcracker, new effect, snowstorm
« on: March 25, 2012, »
There is a new effect for the Nutcracker software.

Snowstorm tried to simulate snowflakes in blowing wind. For this effect, i keep track of every snowflake in an array. I then give a random value to a vector and remember the new direction. This may look like just the blinking pixels, the logix is very different. Try picking one snowflake and follow its path.

You get prompted for the Maximum Snowflakes to start in the storm.


_POST
username   f
user_target   ZZ_ZZ
effect_class   snowstorm
effect_name   SNOW1
window_degrees   180
seq_duration   5
start_color   #FF250D
end_color   #051EFF
frame_delay   50
maxSnowflakes   50
submit   Submit Form to create your effect


Now lets try , say 300 snowflakes
_POST
username   f
user_target   ZZ_ZZ
effect_class   snowstorm
effect_name   SNOW2
window_degrees   180
seq_duration   5
start_color   #FF250D
end_color   #051EFF
frame_delay   50
maxSnowflakes   300
submit   Submit Form to create your effect



Lets tone down the effect by limiting to 150 pixels and a smaller color range
_POST
username   f
user_target   ZZ_ZZ
effect_class   snowstorm
effect_name   SNOW3
window_degrees   180
seq_duration   5
start_color   #1E05FF
end_color   #00FF2A

frame_delay   50
maxSnowflakes   150
submit   Submit Form to create your effect




enjoy
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, snowstorm
« Reply #1 on: May 06, 2012, »
New option for snowstorm, trail_length.

I was not satisfied with the look of this effect so i have added the ability to have the snowflakes fade away as they are blown around.

Play with the number of snowflakes that you start with and the length of the trail. Increasing these numbers make the generation of the effect take a long time. i redid the logic fo this effect and it is now 5 times faster.

start with an effect of 5 snowflakes and a trail_length of 2

then try 20 snowflakes with a length of 20.

as the other effects , you can pick the color range of the snowflakes.


array_to_save
username   f
user_target   AA
effect_class   snowstorm
effect_name   SNOW1
window_degrees   360
seq_duration   5
start_color   #FF250D
trail_length   11
end_color   #051EFF
frame_delay   100
maxSnowflakes   11
submit   Submit Form to create your effect
OBJECT_NAME   snowstorm





array_to_save
username   f
user_target   AA
effect_class   snowstorm
effect_name   SNOW2
window_degrees   180
seq_duration   5
start_color   #FF1808
trail_length   2
end_color   #FF03CD
frame_delay   50
maxSnowflakes   33
submit   Submit Form to create your effect
OBJECT_NAME   snowstorm




array_to_save
username   f
user_target   AA
effect_class   snowstorm
effect_name   SNOW3
window_degrees   180
seq_duration   5
start_color   #1E05FF
trail_length   22
end_color   #00FF2A
frame_delay   100
maxSnowflakes   11
submit   Submit Form to create your effect
OBJECT_NAME   snowstorm





enjoy!
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 onesmoothhead

  • Sr. Member
  • ****
  • Posts: 865
  • 87031
    • Listen to the Lights New Mexico
Re: Nutcracker, new effect, snowstorm
« Reply #2 on: May 07, 2012, »
I really like those effects. Great work once again.

Offline Steve Gase

  • Sr. Member
  • ****
  • Posts: 2915
    • WinterLightShow in Georgetown, TX
Re: Nutcracker, new effect, snowstorm
« Reply #3 on: May 07, 2012, »
very nice!!

i need to look through the gallery and start picking out my favorites from all of the great choices!
You are not allowed to view links. Register or Login  |  110K channels, 50K lights  |  Nutcracker, Falcon, DLA, HolidayCoro