An open API service indexing awesome lists of open source software.

https://github.com/riju/xmas-tales

E-book reader web application for kids to show how to use the Ambient Light API.
https://github.com/riju/xmas-tales

Last synced: 2 months ago
JSON representation

E-book reader web application for kids to show how to use the Ambient Light API.

Awesome Lists containing this project

README

        

# XMAS Tales

XMAS Tales is an e-book reader app for kids that uses the Ambient Light API to respond to different light conditions with special effects, to impress children with the magic of Christmas.

![Screenshot](https://mdn.mozillademos.org/files/6725/pages.png)

This demo has originally been developed for MDN (Mozilla Developer Network) as part of the following article:

- [Responding to light conditions - MDN App Center](https://developer.mozilla.org/en-US/Apps/Developing/gather_and_modify_data/Responding_to_light_conditions)

Try it [live](http://franciov.github.io/xmas-tales/).

## Notes

- Currently the Ambient Light API is supported only by Firefox and Firefox for Android.
- Portable devices such as MacBooks and Android tablets usually have an ambient light sensor.
- The demo does not support small resolutions very well at present.
- The app has been made using HTML + CSS + Javascript, with no libs and using static data.

## Contributing

- open github issues
- add tests
- add more pages to the e-book
- handle small resolutions
- new themes and stories