We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Scoreboard Ticker
Page Index Toggle Pages: 1
Scoreboard Ticker (Read 800 times)
Scoreboard Ticker
Mar 26th, 2010, 8:16pm
 
Hi Community!

I was hoping anyone knows of a library that can assist me with creating a scoreboard.

I would like a sort of "ticker" board that animates each time a number in the score changes

for example:
http://www.slrcricket.co.uk/img/sport/main/zoomed/wooden-scoreboard-154.jpg

Thanks as always!

--
Ayari
Re: Scoreboard Ticker
Reply #1 - Mar 27th, 2010, 10:15am
 
No library, you have to code that yourself I think, it shouldn't be hard.
But first, write precisely the behavior you expect from your program. It helps in defining the programming steps.
Re: Scoreboard Ticker
Reply #2 - Mar 27th, 2010, 10:32am
 
Thank you so much  PhiLho!

I fear my approach might be over-complicating it.

I was thinking:
I would create a sphere for each unit with the numbers 0 through 9 mapped to it using a texture.

Then I would map integers in a calculation to the rotation of the z-axis as to calculate how much I would have to rotate the sphere according to each value.

Example:

I would have 3 spheres.
So if my calculation produced 6 5 2.

The first sphere would rotate x-degrees to reach the 6 on the image map.  

The second sphere would rotate x-degrees to reach the 5 on the image map.

The third sphere would rotate x-degrees to reach the 2 on the image map


Is this crazy-talk? Would there be a simpler concept you'd suggest?

Thank you SO much for your time!!

--
Ayari
Re: Scoreboard Ticker
Reply #3 - Mar 27th, 2010, 11:01am
 
whats the effect and look you are aiming for
do you want them exactly like the one in your picture and to be animated when changing The sphere idea is way to complicated.
but it depends on what you want.
there are lots of alternatives http://is.gd/b2nhr
some are pretty easy to implement
Page Index Toggle Pages: 1