Author Topic: Nutcracker: new effect, animated gif's  (Read 1572 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Nutcracker: new effect, animated gif's
« on: April 11, 2012, »
Well, i have been busy. New Effect Class: gif


New effect will load an animated gif and project it onto your rgb device.

You each have a gif library space. Load up some animate gifs and see what they look like. Here is a suggestion, find very small gifs (like 32x32) that look good. Big gifs wont look so good .


So, since i knew i wanted as big a canvas as possible. These are going to be shown on a 16 string by 128 pixel matrix.
Each string is folded three times. This will make 49 strands of 42 pixels each.

So lets see what they look like.

First we will see the gif


array_to_save
username   f
user_target   AA22
effect_class   gif
effect_name   GIF1
file1   usaCa.gif
frame_delay   111
seq_duration   5
submit   Submit Form to create your effect
OBJECT_NAME   gif













Not all gifs seem to work as nicely.








So enjoy. There are number of things i will probably add to the class. Black out backgrounds, look at fixing some transparency issues , .etc.

It is enough for you to get started.

thanks
« Last Edit: April 12, 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 taybrynn

  • Sr. Member
  • ****
  • Posts: 2042
    • RockinChristmas
Re: Nutcracker: new effect, animated gif's
« Reply #1 on: April 11, 2012, »
 <res.
!!! YOU TOTALLY ROCK !!!
 <res.
Scott - Castle Rock, Colorado   [ 2 homes, 100% RGB in 2016; since 2008; over 32k channels of E1.31 ]
You are not allowed to view links. Register or Login

Offline MrChristmas2000

  • Sr. Member
  • ****
  • Posts: 1115
Re: Nutcracker: new effect, animated gif's
« Reply #2 on: April 12, 2012, »
That's really cool!!!  8)   <res.

Offline mms

  • Sr. Member
  • ****
  • Posts: 421
  • 80124
    • Like us on Facebook for special content and year-round updates.
Re: Nutcracker: new effect, animated gif's
« Reply #3 on: April 12, 2012, »
Wow!   >.d9
Like us on Facebook for special content and year-round updates: You are not allowed to view links. Register or Login

Voice-over Inquiries:  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, animated gif's
« Reply #4 on: April 12, 2012, »
New option to allow a brightness increase. There is a new prompt in the effect class, BRIGHTNESS.

If you answer yes then
for every pixel who has a brightness > 10%
     increase its brightness by 50%

Here is what it does
Original





(Note for Apr12) With new BRIGHTNESS option set to Y


Another thread posted in LOR
Quote
Does the size of the gif have to match the number of pixels in the target?  So if I was trying to do a matrix, to do a 32 x 32 gif I would need a 32 x 32 matrix at least?

Right now yes. I am writing auto sizing code now.

suppose you have 16 CCR's. I would fold them into

32x25 matrix.

Now when i map the wreath (which is 50x50) you will only see 32x25.

The autoscale is going to do this
change the 50x50 256 color into a 50x50 16 million true color image

Scale 50x50 down to say 25x25. It will average the colors together .

Now change the 25x25 true color image and select up to 256 colors for the new gif. Create a new resized gif.

There are many tools that manipulate gif files so i am not sure how much of photoshop i will recreate into Nutcracker.
I would never finish if i let myself become a photoshop lite. I will put in a few simpler image manipulations. O just added a simple brightness increase.

To make these look good , you need more pixels. The secret is finding someone who made a cool gif animation with very little pixel count. There are 100,000's of gif's out there. Maybe people could share the better sites.

My rule of thumb: if it looks good as a 32x32 gif, it will probably work in Nutcracker.

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 Mike Hill

  • Sr. Member
  • ****
  • Posts: 400
  • Here to learn
Nutcracker: new effect, animated gif's
« Reply #5 on: April 12, 2012, »
Do you ever sleep Sean?

Amazing response time to suggestions.
Mike Hill
First display date 11-2011
"Never explain your actions, your enemies don't believe it and your friends don't need it."

Offline rwave

  • Sr. Member
  • ****
  • Posts: 555
Re: Nutcracker: new effect, animated gif's
« Reply #6 on: April 12, 2012, »
Sean,

BRAVO!   <res.

Richard (from SoCal)   :)

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: Nutcracker: new effect, animated gif's
« Reply #7 on: April 12, 2012, »
Another WOW.  I look forward to meeting you at the Academy and attending your presentation.
Jim Nealand
Kennesaw, GA

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: new effect, animated gif's
« Reply #8 on: April 12, 2012, »
I have populated into everyones account a copy of the animated gifs i have been using. Your gif library is now pre-seeded with a dozen or so gif's.


I also forgot to mention , that all the animated gifs work on any target, not just the Matrix targets..

Here is an animated firework on a 16x100 megatree that has been folded into 32x50




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