Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Dot Matrix display

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Dot Matrix display

Post 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
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Dot Matrix display

Post 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:
goldrush
Posts: 183
Joined: Mon 27 Oct 2008 4:50 pm
Weather Station: Fine Offset WH1081
Location: Aberdeenshire, Scotland
Contact:

Re: Dot Matrix display

Post by goldrush »

I'm using Firefox 11 on windozey 7 and it displays and scrolls ok
Image
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Dot Matrix display

Post 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.
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Dot Matrix display

Post 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:
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Dot Matrix display

Post 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.
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Dot Matrix display

Post 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?
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Dot Matrix display

Post by mcrossley »

Yeah, that it just a slightly more advanced (with the percentage bar) version of DisplaySingle that is available in SS-Canvas
Post Reply