add tweening

This commit is contained in:
2025-01-11 19:38:40 +09:00
parent 4aba510ec0
commit 462dfe7b9a
6 changed files with 56 additions and 25 deletions
+7 -4
View File
@@ -6,7 +6,8 @@
{
"imports": {
"three": "/three/build/three.module.js",
"three/addons/": "/three/examples/jsm/"
"three/addons/": "/three/examples/jsm/",
"@tweenjs/tween.js": "/@tweenjs/tween.js/dist/tween.esm.js"
}
}
</script>
@@ -26,17 +27,19 @@
}
.debug-panel {
display: none;
/* display: none; */
font-size: 0.8rem;
position: fixed;
opacity: 0.2;
inset: 0 0 auto auto;
overflow-y: scroll;
inset: 0 0 290px auto;
border-bottom-left-radius: 10px;
padding: 10px 10px 20px 20px;
background-color: white;
border: 5px solid gray;
border-top: none;
border-right: none;
width: 400px;
width: 300px;
transition-duration: 0.2s;
transition-property: opacity;
}