https://github.com/seotaro/deckgl-grayscale16bpp-bitmaplayer
https://github.com/seotaro/deckgl-grayscale16bpp-bitmaplayer
deckgl webgl
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/seotaro/deckgl-grayscale16bpp-bitmaplayer
- Owner: seotaro
- License: mit
- Created: 2023-03-18T09:14:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-19T03:55:33.000Z (about 3 years ago)
- Last Synced: 2025-03-03T14:25:58.150Z (over 1 year ago)
- Topics: deckgl, webgl
- Language: JavaScript
- Homepage: https://seotaro.github.io/deckgl-grayscale16bpp-bitmaplayer/
- Size: 192 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deckgl-grayscale16bpp-bitmaplayer
## Demo
[Live Demo](https://seotaro.github.io/deckgl-grayscale16bpp-bitmaplayer/)

## Install
```bash
yarn
```
## Run
```bash
yarn start
```
## Notes
Available parameter combinations in luma.gl's [Texture2D](https://tsherif.github.io/luma.gl/docs/api-reference/webgl/texture-2d.html).
| format | type | pixelStore[GL.UNPACK_ALIGNMENT] | *bpp* |
| ---- | ---- | ---- | ---- |
| RGBA | UNSIGNED_BYTE | 4 | *32* |
| RGB | UNSIGNED_BYTE | 1 | *24* |
| LUMINANCE_ALPHA | UNSIGNED_BYTE | 2 | *16* |
| LUMINANCE | UNSIGNED_BYTE | 1 | *8* |