diff --git "a/js/men\303\272.js" "b/js/men\303\272.js" index d38ada43..d9dfe3f9 100644 --- "a/js/men\303\272.js" +++ "b/js/men\303\272.js" @@ -1,5 +1,5 @@ // script.js - +import { gsap } from 'gsap'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); @@ -54,3 +54,10 @@ menuButton.addEventListener('click', () => { // Por ejemplo, puedes animar el plano para que se expanda // o mostrar/ocultar elementos del menú }); +// ... (resto de tu código Three.js) + +gsap.to(plane.scale, { + x: 2, + duration: 0.5, + ease: "power2.out" +});