2018-02-11 20:20:04 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2018-07-17 20:49:00 +02:00
|
|
|
|
2018-02-11 20:20:04 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>skinview3d</title>
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Archivo+Black" rel="stylesheet">
|
2018-07-29 16:03:55 +02:00
|
|
|
<style>
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: #1e1e1e;
|
|
|
|
}
|
|
|
|
</style>
|
2018-02-11 20:20:04 +01:00
|
|
|
</head>
|
2018-07-17 20:49:00 +02:00
|
|
|
|
2018-02-11 20:20:04 +01:00
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="skin_container"></div>
|
|
|
|
|
2020-01-31 01:50:30 +01:00
|
|
|
<script type="text/javascript" src="../bundles/skinview3d.bundle.js"></script>
|
2018-02-11 20:20:04 +01:00
|
|
|
|
|
|
|
<script>
|
2020-06-17 05:15:52 +02:00
|
|
|
let skinViewer = new skinview3d.SkinViewer(document.getElementById("skin_container"), {
|
2020-06-14 09:45:36 +02:00
|
|
|
width: 400,
|
|
|
|
height: 300,
|
|
|
|
skin: "./1_8_texturemap_redux.png"
|
|
|
|
});
|
2018-07-02 14:13:01 +02:00
|
|
|
|
2018-03-03 15:03:01 +01:00
|
|
|
let control = new skinview3d.createOrbitControls(skinViewer);
|
2019-12-22 13:19:33 +01:00
|
|
|
skinViewer.animations.add(skinview3d.WalkingAnimation);
|
|
|
|
skinViewer.animations.speed = 1.5;
|
2018-02-11 20:20:04 +01:00
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
2018-07-17 20:49:00 +02:00
|
|
|
|
2018-07-21 05:07:52 +02:00
|
|
|
</html>
|