update readme
This commit is contained in:
parent
30cf976800
commit
cde6e5029f
15
README.md
15
README.md
|
|
@ -3,8 +3,6 @@ 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).
|
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).
|
||||||
|
|
||||||
[Github pages example](http://hacksore.github.io/skinpreview3d.js)
|
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
* 1.8 Skins
|
* 1.8 Skins
|
||||||
* Capes
|
* Capes
|
||||||
|
|
@ -17,7 +15,8 @@ The code was originally created by [Kent Rasmussen](https://github.com/earthiver
|
||||||
HTML
|
HTML
|
||||||
```html
|
```html
|
||||||
<div id="canvas_container">
|
<div id="canvas_container">
|
||||||
<canvas id="canvas" width="64" height="64"></canvas>
|
<canvas id="skinCanvas"></canvas>
|
||||||
|
<canvas id="capeCanvas"></canvas>
|
||||||
</div>
|
</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -25,13 +24,13 @@ JS
|
||||||
```js
|
```js
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#canvas_container").skinPreview3D({
|
$("#canvas_container").skinPreview3D({
|
||||||
imageUrl: "/img/ref.png",
|
skinUrl: "img/Dinnerbone.png",
|
||||||
canvasID: "canvas"
|
capeUrl: "img/cape.png",
|
||||||
|
skinCanvas: $('#skinCanvas'),
|
||||||
|
capeCanvas: $('#capeCanvas')
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
# Todo
|
# TODOs
|
||||||
* Create a demo hosted on github pages.
|
|
||||||
* Alex support (Slim arms).
|
* Alex support (Slim arms).
|
||||||
* Mouse wheel camera zoom.
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue