A modern, high-performance, and immersive 3D portfolio built with SvelteKit 5, Threlte, Three.js, GSAP, and Tailwind CSS v4.
This project utilizes a highly customized GSAP ScrollTrigger architecture that locks the native scroll on desktop to trigger seamless 3D scene transitions, while allowing native vertical scrolling on mobile with parallax overlays.
For a deep dive into how the 3D scene integrates with DOM elements, please see ARCHITECTURE.md.
Clone the repository:
git clone <repo-url>
cd portfolio_sveltekit
Install dependencies:
npm install
Run the development server:
npm run dev
# To test on your local network (e.g. from your phone):
npm run dev -- --host
This project uses @sveltejs/adapter-cloudflare and is deployed to Cloudflare Pages.
To deploy manually via Wrangler:
npm run build
npx wrangler pages deploy .svelte-kit/cloudflare --project-name=krishnanandanil-portfolio --branch=main