Thursday, August 2, 2012

Traffic Signs. MatrixPanel samples for the summer

Hi everyone! 

If you're reading this, maybe you, like me, are not on vacation right now... but the most of you should be spending these days abroad, so perhaps you're checking this blog with your hotel's WiFi...

For those of you who have taken the car to travel to different countries, this short post is about a traffic sign display we have in Spain's highways, warning the drivers not to exceed the speed limit: 120 km/h top, or even 100 km/h in some places. Sanctions apply otherwise...

So let's use our MatrixPanel JavaFX UI control (read Part 1 or Part 2 of my previous posts if you don't know about it yet) to warn scatterbrained drivers...

For starters, here is a vertical sign display:


And now, the traffic sign LEDs display you'll find in highways. It's usually only in Spanish, so the translation is an improvment of this digital version.


If you're interested in the code behind this digital sign versions, here you'll find the images and the sample class. You need a jar you'll find it in the  JFXtras jfxtras-ensemble project. Please, change the path to the images accordingly.

That's all for now! Enjoy your vacation if you can, and remember: don't drive fast if you see these signs!!



No comments:

Post a Comment