Page 1 of 1

Dot Matrix display

Posted: Mon 26 Mar 2012 6:27 pm
by mcrossley
Not part of the steelseries, but another play around with HTML5/Canvas.

To fix the CPU issues in this test script I am peeking the pixels once at the start, this means the text rendering is fixed - which looks better in some ways, but worse in others than my first attempt which peeked the pixels every screen update.

The advantage is whole approach is that the characters do not have to be pre-rendered and downloaded, you specify the font you want and any character can be rendered - though you may want to increase the dot density for 'complex' character languages! The disadvantage is the the character shapes are not optimal.

http://www.wilmslowastro.com/html5/dotMatrix.htm

Re: Dot Matrix display

Posted: Tue 27 Mar 2012 11:43 am
by gemini06720
Mark, is there something wrong with my Firefox version 11.0 browser - it will not display any characters - all I see if a wipe of yellow on black.

I have checked with my other browsers (Chrome, SRWare Iron, Opera, Safari and Internet Explorer) and the characters (text) do display properly... :?

I even checked with Multibrowser (a development-type browser) and there is not display within both the Firefox 'engines'... :evil:

Re: Dot Matrix display

Posted: Tue 27 Mar 2012 12:06 pm
by goldrush
I'm using Firefox 11 on windozey 7 and it displays and scrolls ok

Re: Dot Matrix display

Posted: Tue 27 Mar 2012 12:12 pm
by mcrossley
Try that Ray, FF seems to be unique in returning the width of text as a float rather than an integer. I now ceil() returned value.

Re: Dot Matrix display

Posted: Tue 27 Mar 2012 12:46 pm
by gemini06720
Mark, now working fine in Firefox 11.0... :roll:

That display is nice but somewhat a bit too big/large to be added to the SteelSeries gauges page ... unless I increase the size of my gauges to a diameter of 500-700px... :mrgreen:

Re: Dot Matrix display

Posted: Tue 27 Mar 2012 12:50 pm
by mcrossley
You can always try altering the sizes - just save the page locally and run from your filesystem - everything is contained in the single HTML file.

I don't think the quality is good enough for SteelSeries, and I'm working on something else for the library already.

Re: Dot Matrix display

Posted: Tue 27 Mar 2012 9:35 pm
by gemini06720
Mark, it is (was) a nice experiment and it might have a place in a 'niche' market... :mrgreen:

What about this DisplaySingle component (LCD) as found on Gerrit's blog page:
120305-0001.png
Or is that similar (same concept) to the status gauge already used on the SteelSeries gauges page?

Re: Dot Matrix display

Posted: Wed 28 Mar 2012 9:53 am
by mcrossley
Yeah, that it just a slightly more advanced (with the percentage bar) version of DisplaySingle that is available in SS-Canvas