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

https://github.com/seotaro/deckgl-grayscale16bpp-bitmaplayer


https://github.com/seotaro/deckgl-grayscale16bpp-bitmaplayer

deckgl webgl

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# deckgl-grayscale16bpp-bitmaplayer

## Demo

[Live Demo](https://seotaro.github.io/deckgl-grayscale16bpp-bitmaplayer/)

image

## 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* |