https://github.com/ondras/rl-display
Web Component for Roguelike games
https://github.com/ondras/rl-display
custom-elements library roguelike
Last synced: 5 months ago
JSON representation
Web Component for Roguelike games
- Host: GitHub
- URL: https://github.com/ondras/rl-display
- Owner: ondras
- License: mit
- Created: 2024-11-14T15:02:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-28T13:41:34.000Z (about 1 year ago)
- Last Synced: 2025-11-04T23:26:54.495Z (8 months ago)
- Topics: custom-elements, library, roguelike
- Language: HTML
- Homepage: https://ondras.github.io/rl-display/manual/
- Size: 218 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# <rl-display> – a roguelike display custom element
This small TS/JS library provides a simple API to draw HTML glyphs in a fashion similar to old-school TTY displays. The main focus is on aesthetic quality of rendering: the whole HTML+CSS rendering pipeline is leveraged, including vector fonts, browser-native animations and transitions and more.
## Links
- [Interactive manual](https://ondras.github.io/rl-display/manual/)
- [Demo](https://ondras.github.io/rl-display/demo/)
- [API Docs](https://ondras.github.io/rl-display/docs/~/RlDisplay.html)
## Development
Toolchain: make, deno
- `make` to build the library
- `make doc` to autogenerate apidocs
- `make demo` to build the demopage
- `make test` to run tests
- `make check` to typecheck