skinview3d
========
[](https://github.com/bs-community/skinview3d/actions?query=workflow:CI)
[](https://www.npmjs.com/package/skinview3d)
[](https://github.com/bs-community/skinview3d/blob/master/LICENSE)
[](https://gitter.im/skinview3d/Lobby)
Three.js powered Minecraft skin viewer.
# Features
* 1.8 Skins
* HD Skins
* Capes
* Elytras
* Slim Arms
* Automatic model detection (Slim / Default)
# Usage
[Example of using skinview3d](https://bs-community.github.io/skinview3d/)
```html
```
## Anti-aliasing
skinview3d supports FXAA (fast approximate anti-aliasing).
To enable it, you need to replace `SkinViewer` with `FXAASkinViewer`.
You must use an **opaque** background when FXAA is enabled,
because FXAA is incompatible with transparent backgrounds.
By default, the background color is white.
To use a different color:
```javascript
let skinViewer = new skinview3d.FXAASkinViewer(...);
// Set the background color to blue
skinViewer.renderer.setClearColor(0x5a76f3);
```
# Build
`npm run build`