_
This commit is contained in:
57
spline scenes/4_d_donut_creation/index.html
Normal file
57
spline scenes/4_d_donut_creation/index.html
Normal file
@@ -0,0 +1,57 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
body { width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
position: fixed;
|
||||
background: rgba(25,25,25, 1) }
|
||||
canvas { width: 100%; height: 100%; outline: none; }
|
||||
#container { width: 100%; height: 100%; position: relative; }
|
||||
|
||||
|
||||
.spline-watermark {
|
||||
position: absolute;
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.spline-watermark:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.spline-watermark img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
</style>
|
||||
<title>4D donut creation</title>
|
||||
|
||||
<link rel="icon" type="image/png" href="https://spline.design/_assets/_images/icon_favicon16x16.png" sizes="16x16">
|
||||
<link rel="icon" type="image/png" href="https://spline.design/_assets/_images/icon_favicon32x32.png" sizes="32x32">
|
||||
</head>
|
||||
<body>
|
||||
<div id='container'>
|
||||
<canvas id="canvas3d"></canvas>
|
||||
|
||||
<a class="spline-watermark" href="https://spline.design">
|
||||
<img src="https://spline.design/_assets/_images/icon_favicon32x32.png">
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="https://unpkg.com/three@0.131.3/build/three.min.js"></script>
|
||||
<script src="js/spline.runtime.min.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user