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.
- Host: GitHub
- URL: https://github.com/riju/xmas-tales
- Owner: riju
- Created: 2016-04-06T11:30:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-15T13:25:28.000Z (over 8 years ago)
- Last Synced: 2025-01-29T14:23:21.602Z (4 months ago)
- Language: CSS
- Homepage: http://riju.github.io/xmas-tales/
- Size: 420 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

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