Nutcracker, new effect, snowstorm

smeighan

Dedicated elf
Joined
Jan 19, 2012
Messages
1,109
Location
4217 Greenfinch Dr CO 80126
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
 

fasteddy

I have C.L.A.P
Global moderator
Joined
Apr 26, 2010
Messages
6,645
Location
Albion Park NSW
You are a machine ;) great work once again. When do you think you will have the matrix and the ray available for use.
 

smeighan

Dedicated elf
Joined
Jan 19, 2012
Messages
1,109
Location
4217 Greenfinch Dr CO 80126
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!
 
Top