A "Billboard Sign" done in SilverLight

Sub Heading 4


Remember going to a city for the first time and seeing all those 20 foot long billboards with flashing lights and advertisements? One memorable moment was when I was holidaying in “New York”, it was around 10pm just after dinner all the flashing billboard lights just took me by surprise.

I really love the whole billboard advertising done with lights. And what I want to do today is recreate a billboard with lights as a SilverLight application.

I’m going to take my picture and replace one of the billboards with my own SilverLight version. (see red highlighted area)

So what is a billboard sign made up of ? In it’s simplest form it is a grid of flashing bulbs, whose dimension is X by Y.

Each light will have a simple animation that turns it on and off in the space of a second. I plan on using an existing “blend candy” animation I created weeks ago called “Flashing Light“, I’ve included a picture of the current flashing light. It’s a simple xAML file with a storyboard animation for flicking the light on and off.

I will make the single flashing light into a xAML control template. This control will then be used to fill the billboard. In my example I created a billboard with 40 light-controls width and 29 light-controls height.

The next step is to animate the lights and the easiest to do as an example is to animate the lights from left to right in lines and because the lights fade in and out within 1 second we get a faded effect as the line progresses.

Then I added a png transparent image over the billboard lights!

Next I added the image I took of New York and rescaled the billboard lights to fit in the slot I had carved out! Click on the image below to see the SilverLight animation in action.

The source code can be found here.

One of the good things about this project was it showed me one important limitation of SilverLight, that being performance. I dynamically instantiated over 1000 template bulbs and added them to the root canvas. Then I created a function that animated each row of the bulbs once I did this it showed me the limits of SilverLight, my processor started to make chugging noises!

Anyway I hope you enjoyed this sample and please rip it up and make use of it as you see fit!

64 responses to “A "Billboard Sign" done in SilverLight

  1. thanks man,

    it is good as always.

  2. Right above where i stood for the ball drop in 04/05 for 8 hours!

    Yep – was runnin at 50% processor. God job it wasnt the entire times square you were re-creating!! :o)

  3. Hi guys,
    My problemm: my pc worked slowly, fast reeboot and some others.
    Please, help me to fix it – I need some programm, that consist info, how can I do it.
    With best regards,

  4. Hi everyone

    RegDefense have you heard of it yet? I have found this software myself and would like to share it with everyone in this website to use it for free. I always wanted to find away to keep my PC in a good working order and performance but it was not possible until I found out about RegDefense. RegDefense basically removes every little registry on you PC which blocks the users commend.

    You can download it for free at: http://reviewregdefense.com

    Enjoy the software.

  5. Get an Extra £7 Deposit Bonus, To claim your extra 7 quid, just enter the code into the Promo Code box when you sign

    up at jackpotjoy


    Jackpot Joy Voucher Code 

  6. I’m New Just thought i should say hello! I really like being here hope to see more within the up coming days!

    [url=http://www.darkhd.com]Watch Movies Online[/url]

  7. Greg Mendel is also, by huge coincidence, the name of the Augustinian monk who is credited with being the father of modern genetics. ,

  8. hallo,

    ich hoffe hier im Forum kann mir jemand helfen!
    Ich habe aus versehen vier Texte von meinem MP3 Player gelöscht. Leider sind die Dateien nicht mehr im meinem Papierkorb.
    Die Dateien sind sehr wichtig für mich! Ich würde die gerne retten.
    Wer kennt ne Seite auf der ich Infos dazu finde, wie ich die Daten retten kann??

    Vielen Dank schonmal für eure Antworten


  9. Houston, TX – The Houston Texans signed Andre Johnson to a two-year contract extension on Thursday, a buy that, according to the Houston Chronicle, makes him the highest paid major receiver in the NFL.

    Johnson, 29, led the NFL in receiving yards the matrix two seasons and had five years and $35 million remaining on his existing contract.

    The List reported the extension to be significance $38.5 million, including $13 million guaranteed. On commonplace, Johnson purpose at the moment make $10.5 million per year over the next seven seasons, not including fulfilment incentives.

    “I always said I wanted to put on in compensation unified band, and to be skilful to frivolity representing the Houston Texans in favour of my whole life’s work is a tremendous honor,” Johnson said. “I always said I wanted to be part of something celebratory, and I knew that coming to a unique organism, things were prospering to be a bantam disrespectful in the origin, and second I think like things are enchanting that turn after us.”

    The University of Miami-Florida yield has spent his thorough seven-year pursuit in Houston after the Texans selected him with the third all-embracing pick in the 2003 NFL Draft.

    Johnson has recorded back-to-back 1,500-yard receiving seasons, including a 101-catch, 1,569-yard operations mould year. He also scored nine touchdowns in 2009 to up his craft total to 42 TDs in 102 games.

    “After the last two years, unknown has played to the equivalent that this girlish man has as long that I’ve been round, other than one other person,” said nut coach Gary Kubiak. “What he’s been doing has been special, and there’s a collection more to come. So, that’s wealthy to be exciting.”

    He has caught 587 passes for the sake of 7,948 yards from the course of his calling, just two of the numerous confederate records he owns.

  10. There is apparently a bunch to realize about this. I assume you made various good points in features also.Keep working ,fantastic job! sewing machine tables cabinets

  11. Pingback: جلب الحبيب

  12. Motivating selection of wedding bath concepts. Enjoy the particular pinata styles beauitful.

  13. I am not ure where you’re getting your info, but great topic.
    I needs to spend some time learning more or understanding more.

    Thanks for wonderful information I was looking for this info for my mission.

  14. Too many think just make you afraid to pass your life You are the creator for your own future

  15. Mengetahui cirikhas dari kutil kelamin ini Ada papula kemerahan dan bintikbintik kecilsecara bertahap akan menjadi semakin besar dan banyak biasanya tidak terasa apaapapermukaannya tidak rata lembab dan lembutpapilermikosis atau seperti kembang kol serta berkelompok konfluenmerah atau merah muda.

  16. Jangan tanyakan mengapa seseorang membencimu sebelum kamu tanyakan dirimu sendiri mengapa kamu peduli akan hal itu

  17. Anda mengetahui apa yang sharusnya tidak dilakukan ketika Anda gagal Jadi Anda menciptakan pengetahuan baru dan itu bukan kegagalan

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s