Author Topic: Nutcracker: New effect class, twinkle  (Read 1109 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Nutcracker: New effect class, twinkle
« on: November 26, 2012, »
New Effect.

This is a pretty simple effect, it allows blinking your pixels and changing the blink speed.
A new prompt, blink_speed, is how many ms the led is on and how long it is off.
Unlike all previous effects, this blink rate will be calculated using your frame timing. So if you choose 200ms, it will be 200ms regardless of frame timing.

Standard multi color strings are RED (#FF0000), GREEN(#00FF00), BLUE(#0000FF), YELLOW(#FFFF00) and PURPLE(#FF00FF). The 5 colors i choose match these colors.


For this first effect I set sparkles variable to 100%. This means every pixel in your target will be blinking.

twinkle Effect Settings
username   f
user_target   A
effect_class   twinkle
submit   Submit Form to create your effect
effect_name   TWINKLE1
window_degrees   180
frame_delay   100
sparkles   100
blink_speed   300
color1   #FF0000
color2   #FFFF00
color3   #FF00FF
color4   #0000FF
color5   #00FF00
show_frame   N
seq_duration   5
fade_in   0
fade_out   0
color6   #FFFFFF
direction   down
$use_background   N
background_color   #FFFFFF
fade_3d   N
rainbow_hue   N
handiness   R
speed   1
batch   0
OBJECT_NAME   twinkle


Here instead of 100% of the pixels blinking, i choose 20%.
I also changed the colors.
I slowed the blink rate from 300 ms to 500ms.

The blink rate should be calculated using your frame timing and allows you to pick how fast the lights blink.

If you pick 500 then a pixel will be on for 500ms and off for 500s.

twinkle Effect Settings
username   f
user_target   A
effect_class   twinkle
submit   Submit Form to create your effect
effect_name   TWINKLE2
window_degrees   180
frame_delay   100
sparkles   20
blink_speed   500
color1   #FFFFFF
color2   #230AFF
color3   #FFFFFF
color4   #0011FF
color5   #FFFFFF
show_frame   N
seq_duration   5
fade_in   0
fade_out   0
color6   #FFFFFF
direction   down
$use_background   N
background_color   #FFFFFF
fade_3d   N
rainbow_hue   N
handiness   R
speed   1
batch   0
OBJECT_NAME   twinkle

« Last Edit: November 26, 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 dpitts

  • Restrictive
  • Sr. Member
  • *
  • Posts: 466
Re: Nutcracker: New effect class, twinkle
« Reply #1 on: November 26, 2012, »
Sean,

You never cease to amaze me with how attentive you are to the needs of the Christmas community. You truly are a great friend and asset to this wonderful community. Thank you again for all your hard work.

Offline bcstuff

  • Sr. Member
  • ****
  • Posts: 424
  • Cape Coral, FL 33991
Re: Nutcracker: New effect class, twinkle
« Reply #2 on: November 26, 2012, »
It just keeps getting better. Thanks Sean!

By the way I am now convinced Sean has the ability to clone himself.
Its the only way to have time to keep working on Nutcracker and his Christmas Show.  ;D
-Brian
-------------
2017 - Complete makeover, let's just say it's gonna be a few pixels.

2016 - Grad School Stinks :(
2015 - 16' Megatree, 8' MidiTrees, 8' MegaWreath, 6' Snowflake Spinners, Zwilluminariesâ„¢

Our Display Videos: 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 class, twinkle
« Reply #3 on: November 26, 2012, »
You are not allowed to view links. Register or Login
Sean,

You never cease to amaze me with how attentive you are to the needs of the Christmas community. You truly are a great friend and asset to this wonderful community. Thank you again for all your hard work.

Thank you.

i plan on using this effect in my show also.

sean
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 KeithTarpley

  • Administrator
  • Sr. Member
  • *****
  • Posts: 1990
Re: Nutcracker: New effect class, twinkle
« Reply #4 on: November 26, 2012, »
Greetings,,,

Looks great.  With Hostess going away, we need more twinkies...

Keith
"Now I know the only foe is time." -Moody Blues

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: New effect class, twinkle
« Reply #5 on: November 27, 2012, »
twinkle effect was missing in projects. I have added it so you can now add twinkle to any project you have.

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 dpitts

  • Restrictive
  • Sr. Member
  • *
  • Posts: 466
Re: Nutcracker: New effect class, twinkle
« Reply #6 on: December 01, 2012, »
Kind of confused. I cannot seem to get all lights to blink. I am using a single stand megatree as model. I could not create a single strand model so I went with a single stand mega.

Model = Minitree
Effect = twinkle_multi

I could not get Minitree2 which is a single strand to be created with Firefox or Chrome.

I mainly would like to get a minitree wrapped with a single strand to twinkle (75 nodes). Each light should twinkle at about 500ms on and 500 ms off but all at different times. So the resolution of the intervals should be about 25ms. Which gives the ability of 20 different "On start times". The parameters in Nutcracker are there but I am having no success.