Skip to content

IndraniSom/portfolioweb

Repository files navigation

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

  • @vitejs/plugin-react uses Babel for Fast Refresh
  • @vitejs/plugin-react-swc uses SWC for Fast Refresh const clientX = event.touches ? event.touches[0].clientX : event.clientX; const delta =(clientX -lastX.current)/viewport.width; laptopRef.current.rotation.y+=delta0.01Math.PI; lastX.current=clientX; rotationSpeed.current=delta 0.01Math.PI;