2015-09-29 18:52:18 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2017-08-29 17:04:08 +02:00
|
|
|
<meta charset="utf-8">
|
2017-09-02 14:39:01 +02:00
|
|
|
<title>skinpreview3d.js example using jquery</title>
|
2015-09-29 18:52:18 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2017-08-29 17:04:08 +02:00
|
|
|
<div id="skin_container"></div>
|
2015-09-29 18:52:18 +02:00
|
|
|
|
2017-08-29 13:43:35 +02:00
|
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/three.js/87/three.min.js"></script>
|
|
|
|
<script type="text/javascript" src="js/skinpreview3d.js"></script>
|
2015-09-29 18:52:18 +02:00
|
|
|
<script>
|
2017-09-02 14:39:01 +02:00
|
|
|
$(() => {
|
2017-09-01 15:57:50 +02:00
|
|
|
$("#skin_container").skinPreview3d({
|
2017-09-30 15:26:26 +02:00
|
|
|
skinUrl: "img/hatsune_miku.png",
|
|
|
|
capeUrl: "img/mojang_cape.png",
|
2017-08-30 14:26:04 +02:00
|
|
|
slim: true,
|
2017-09-02 14:39:01 +02:00
|
|
|
// disableControl: true, // This disables the mouse control feature
|
2017-08-29 17:04:08 +02:00
|
|
|
width: 600,
|
2017-09-09 16:47:39 +02:00
|
|
|
height: 600,
|
|
|
|
animation: skinpreview3d.WalkAnimation
|
2017-08-29 13:43:35 +02:00
|
|
|
});
|
2015-09-29 18:52:18 +02:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
2017-08-29 13:43:35 +02:00
|
|
|
</html>
|