skinview3d/README.md

36 lines
786 B
Markdown
Raw Normal View History

2015-09-29 18:52:18 +02:00
# skinpreview3d.js
This is a Three.js powered Minecraft skin renderer packaged as a jQuery plugin.
The code was originally created by [Kent Rasmussen](https://github.com/earthiverse). You can find out more about his project [here](https://github.com/earthiverse/3D-Minecraft-Skin-Viewer).
2016-01-10 18:28:54 +01:00
# Features
* 1.8 Skins
* Capes
# Dependencies
* [Three.js](https://github.com/mrdoob/three.js/)
* [jQuery](https://jquery.com/)
# Usage
HTML
2016-01-10 18:28:54 +01:00
```html
<div id="canvas_container">
<canvas id="canvas" width="64" height="64"></canvas>
</div>
```
JS
2016-01-10 18:28:54 +01:00
```js
$(function() {
$("#canvas_container").skinPreview3D({
imageUrl: "/img/ref.png",
canvasID: "canvas"
});
});
```
# Todo
2016-01-10 18:28:54 +01:00
* Create a demo hosted on github pages.
* Alex support (Slim arms).
* Mouse wheel camera zoom.