https://github.com/bs-community/skinview3d/
Modified version of SkinView3D to remove unnecessary things and make it work on PS3D skins.
|
|
||
|---|---|---|
| img | ||
| js | ||
| misc | ||
| .gitignore | ||
| README.md | ||
| Vagrantfile | ||
| index.html | ||
README.md
skinpreview3d.js
This is a Three.js powered Minecraft skin renderer packaged as a jQuery plugin.
The code was originally created by Kent Rasmussen. You can find out more about his project here.
Usage
HTML
<div id="canvas_container">
<canvas id="canvas" width="64" height="64"></canvas>
</div>
JS
$(function() {
$("#canvas_container").skinPreview3D({
imageUrl: "/img/ref.png",
canvasID: "canvas"
});
});
Todo
- Create a demo hosted on github pages