Nutcracker: new eff...
 
Notifications
Clear all

Nutcracker: new effect, butterfly wing

35 Posts
13 Users
0 Reactions
16.2 K Views
nuelemma
Posts: 218
(@nuelemma)
Estimable Member
Joined: 16 years ago

Hey,

I re-draw my tree giving it a start position of 6:00 o'clock and CCW. In that case the preview was only on the right side of the tree. (6:00 trough 12:00).

treehalf

I decided to split the routine and cut the values from string 8 Pixel 26 and moved all the way to string 24 pixel 1. That did the trick. Basically I created Zero values for all the empty channels that are in between. Let me know what you think.

newtree

Reply
smeighan
Posts: 2595
Topic starter
(@smeighan)
Famed Member
Joined: 15 years ago

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


Reply
klyneshouse
Posts: 230
(@klyneshouse)
Reputable Member
Joined: 16 years ago

Sean -
Great job on the 3 butterfly effects.
Having some problems with other effects but the butterfly ones are workng 100% IMO.
Playing with timing and colors yields a zillion posibilities.

My sons prom (Vegas theme) is in 2 weeks and they will have an awesome Fremont Street Experience thanks to your routines.
It will be on a perfectly sized entryway using 24, 50ct pixel strands -hope to have some awesome video to post once assembled.

Thanks so much for your efforts, I am truly blown away how much you have quickly put together.


Reply
smeighan
Posts: 2595
Topic starter
(@smeighan)
Famed Member
Joined: 15 years ago
klyneshouse wrote:Sean -
Great job on the 3 butterfly effects.
Having some problems with other effects but the butterfly ones are workng 100% IMO.
Playing with timing and colors yields a zillion posibilities.

My sons prom (Vegas theme) is in 2 weeks and they will have an awesome Fremont Street Experience thanks to your routines.
It will be on a perfectly sized entryway using 24, 50ct pixel strands -hope to have some awesome video to post once assembled.

Thanks so much for your efforts, I am truly blown away how much you have quickly put together.

I logged in as you and have tried one of each of your effects on your one target model.

METEORS:

array_to_save
username klyneshouse
user_target MEGA
effect_class meteors
effect_name meteor_multi_1
window_degrees 360
start_color #16FF05
end_color #318C2E
frame_delay 50
sparkles 0
maxPhase 5
seq_duration 5
maxMeteors 5
meteor_type 2
submit Submit Form to create your effect
OBJECT_NAME meteors
show_frame N
direction cw

GARLANDS:
array_to_save
username klyneshouse
user_target MEGA
effect_class garlands
effect_name GARLAND_2
window_degrees 360
start_color #0FFFFF
end_color #FF70F1
frame_delay 30
sparkles 0
seq_duration 7
garland_gap 8
garland 4
show_frame n
submit Submit Form to create your effect
OBJECT_NAME garlands

SPIRALS:

array_to_save
username klyneshouse
user_target MEGA
effect_class spirals
effect_name SPIRAL5
handiness r
number_spirals 5
number_rotations 2
spiral_thickness 1
window_degrees 360
start_color #F024FF
end_color #7DFFE5
frame_delay 50
direction cw
sparkles 8
use_background n
background_color #FFFFFF
seq_duration 3
show_frame n
submit Submit Form to create your effect
OBJECT_NAME spirals

TEXT: I would suggest for text that you only have the text on half of the tree. Set the window to 180. Also be sure to set the top where
the text will start. Remember my pixel counting is always pixel #1 is the top of every strand.

array_to_save
username klyneshouse
user_target MEGA
effect_class text
effect_name TEST_TXT
text1 TUNE TO
text2 87.9 FM
window_degrees 180
text1_color #FFFFFF
text2_color #FFFFFF
frame_delay 150
topPixel 11
seq_duration 8
show_frame n
submit Submit Form to create your effect
OBJECT_NAME text

Next , i tried to make a gif animation for you.

I got this error

Fatal error: Cannot redeclare fromrgb() (previously declared in /users/meighan.net/htdocs/nutcracker/effects/gif.php:363) in /users/meighan.net/htdocs/nutcracker/effects/read_file.php on line 789

Ok, I fixed the bug and promoted new code. Let me try a gif again.

array_to_save
username klyneshouse
user_target MEGA
effect_class gif
effect_name FIREWORK16
file1 fireworks16.gif
frame_delay 100
seq_duration 5
brightness y
submit Submit Form to create your effect
OBJECT_NAME gif

becomes this on your tree


Reply
klyneshouse
Posts: 230
(@klyneshouse)
Reputable Member
Joined: 16 years ago
smeighan wrote:I logged in as you and have tried one of each of your effects on your one target model.

TEXT: I would suggest for text that you only have the text on half of the tree. Set the window to 180. Also be sure to set the top where
the text will start. Remember my pixel counting is always pixel #1 is the top of every strand.

array_to_save
username klyneshouse
user_target MEGA
effect_class text
effect_name TEST_TXT
text1 TUNE TO
text2 87.9 FM
window_degrees 180
text1_color #FFFFFF
text2_color #FFFFFF
frame_delay 150
topPixel 11
seq_duration 8
show_frame n
submit Submit Form to create your effect
OBJECT_NAME text

Txt is generating all gifs perfectly, but after importing routine to vixen, its only populating strings 1-6 (of 24 total.) and what appears to me as if the export is not filling in/allowing for empty spaces from strand#1 to strand#2 and so on.
So 4 strands of data will be imported into strand #1 channels 1-150, leaving strands 5-24 empty.
Hope this makes sense.
Username parker contains the prom grid and that appears to be doing the same thing.


Reply
Page 4 / 4
Share: