A character LCD emulator you can use in any project. Including HTML5:
The Core API doesn't include any rendering functionality, so you're free to use any rendering technology to draw the resulting display. What it does provide is a description of the display's pixels. Which are lit, which are dim. Using this information, rendering a display of any size is trivial.
The repository includes one such renderer using a HTML5 canvas.
A minimal html example:
<canvas id="lcd"></canvas>
...
var canv = document.getElementById('lcd');
var ctx = canv.getContext('2d');
vrEmuLcd.setLoadedCallback(function () {
// create a new LCD object
var lcd = vrEmuLcd.newLCD(16, 2, vrEmuLcd.CharacterRom.Eurpoean);
// set up the display
lcd.sendCommand(LCD_CMD_DISPLAY | LCD_CMD_DISPLAY_ON);
lcd.writeString("Hello, World!");
lcd.render(ctx, 0, 0, 800, 400);
});
The display can be "skinned" with any image you choose.