intro start++

This commit is contained in:
STEINNI
2025-11-09 13:25:51 +00:00
parent 768e42a303
commit e9e4169c37
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -63,6 +63,7 @@ loader.load('/app/assets/images/logop42-intro_three.png', texture => {
if (!plane) { if (!plane) {
const geo = new THREE.PlaneGeometry(planeWidth, planeHeight) const geo = new THREE.PlaneGeometry(planeWidth, planeHeight)
const mat = new THREE.MeshBasicMaterial({ map: texture }) const mat = new THREE.MeshBasicMaterial({ map: texture })
plane = new THREE.Mesh(geo, mat) plane = new THREE.Mesh(geo, mat)
plane.scale.set(1.44, 1.5, 1) plane.scale.set(1.44, 1.5, 1)
plane.position.z = 0 plane.position.z = 0
+5
View File
@@ -19,8 +19,13 @@ canvas.intro3d{
background:transparent; background:transparent;
pointer-events: none; pointer-events: none;
z-index:99; z-index:99;
animation: logoanim 3.5s ease-out forwards;
} }
@keyframes logoanim{
0% { filter: blur(14px); opacity: 0; transform: scale(0.1) }
100% { filter: blur(0); opacity: 1; transform: scale(1) }
}
@keyframes startbtnanim{ @keyframes startbtnanim{
0% { opacity: 0; } 0% { opacity: 0; }