Jump to content
Light-O-Rama Forums

Nutcracker: New effect class, twinkle


smeighan

Recommended Posts

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, GREEN, BLUE, YELLOW and PURPLE. 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

A~TWINKLE1.gif

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

A~TWINKLE2.gif

Link to comment
Share on other sites

  • The topic was locked
Guest
This topic is now closed to further replies.
×
×
  • Create New...