This repository contains the source code for a personal 3D portfolio built with React, TypeScript, Three.js, React Three Fiber, and GSAP. It includes animated page sections, a character scene, custom cursor interactions, and smooth transitions designed for a modern portfolio experience.
Live site: https://akashrmalhotra.netlify.app/

@gsap/react@react-three/fiber@react-three/drei@react-three/postprocessing@react-three/cannon@react-three/rapierreact-iconsreact-fast-marquee@vercel/analytics.
├── public/ # Static assets
├── src/
│ ├── assets/ # Local media/assets
│ ├── components/
│ │ ├── Character/ # 3D scene + character logic/utilities
│ │ ├── styles/ # Section/component CSS files
│ │ ├── About.tsx
│ │ ├── Career.tsx
│ │ ├── Contact.tsx
│ │ ├── Landing.tsx
│ │ ├── MainContainer.tsx # Main page composition
│ │ ├── Navbar.tsx
│ │ ├── TechStack.tsx
│ │ ├── WhatIDo.tsx
│ │ └── Work.tsx
│ ├── context/ # Global providers (loading state, etc.)
│ ├── data/ # Static data/content definitions
│ ├── App.tsx
│ └── main.tsx
├── package.json
└── vite.config.ts
bash
git clone <your-repository-url>
cd 3d-portfolio
bash
npm install
bash
npm run dev
http://localhost:5173).npm run dev
Starts Vite dev server and exposes host for local network testing.
npm run build
Type-checks and builds a production-ready bundle.
npm run preview
Serves the production build locally for verification.
npm run lint
Runs ESLint checks across the project.
This project uses the standard gsap package, including bonus plugins now available in the core package.
npm install.gsap-trial from your project.Read official installation guidance here: GSAP Installation Docs
You can adapt this portfolio to your own profile by updating the following areas:
src/components/ such as About.tsx, Career.tsx, WhatIDo.tsx, and Work.tsx.src/data/.src/components/styles/ and global styles in src/index.css / src/App.css.src/components/Character/ and related utilities.src/components/utils/.Blank screen in development
Check browser console for module import errors and verify all dependencies are installed.
3D performance issues on low-end devices
Reduce scene complexity and post-processing effects in the character/scene utilities.
GSAP plugin errors
Ensure you have the correct plugin package and license configuration for your target environment.
TypeScript build failures
Run npm run build and address reported type errors before deploying.
bash
npm run build
bash
npm run preview
dist/ folder to your hosting provider (for example Vercel, Netlify, or Cloudflare Pages).This project is open source and available under the MIT License.
$ claude mcp add 3d-portfolio \
-- python -m otcore.mcp_server <graph>