Spaces:
Running
on
Zero
Running
on
Zero
<html> | |
<head> | |
<!-- Import the component --> | |
<script src="https://ajax.googleapis.com/ajax/libs/model-viewer/3.1.1/model-viewer.min.js" type="module"></script> | |
<style> | |
body { | |
margin: 0; | |
font-family: Arial, sans-serif; | |
} | |
.centered-container { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
border-radius: 8px; | |
border-color: #e5e7eb; | |
border-style: solid; | |
border-width: 1px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="centered-container"> | |
<div class="column is-mobile is-centered"> | |
<model-viewer style="height: 586px; width: 700px;" rotation-per-second="10deg" id="modelViewer" | |
src="./textured_mesh.glb/" disable-tap | |
environment-image="neutral" auto-rotate camera-target="0m 0m 0m" orientation="0deg 0deg 170deg" shadow-intensity=".9" | |
ar auto-rotate camera-controls> | |
</model-viewer> | |
</div> | |
</div> | |
</body> | |
</html> |