|
1 | | -# React + TypeScript + Vite |
| 1 | +# DevSpawnPoint - 3D Interactive Portfolio |
2 | 2 |
|
3 | | -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. |
| 3 | +[](https://app.netlify.com/projects/developerspawnpoint/deploys) |
4 | 4 |
|
5 | | -Currently, two official plugins are available: |
| 5 | +## About the Project |
6 | 6 |
|
7 | | -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh |
8 | | -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh |
| 7 | +DevSpawnPoint is an interactive 3D developer workspace (spawn point) portfolio built with modern web technologies. Visitors can navigate through a realistic 3D room, interact with items on the desk, and discover my projects, social media profiles, and skills in an immersive environment. |
9 | 8 |
|
10 | | -## React Compiler |
| 9 | +## Screenshots |
11 | 10 |
|
12 | | -The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation). |
| 11 | + |
| 12 | +*Interactive 3D workspace environment* |
13 | 13 |
|
14 | | -## Expanding the ESLint configuration |
| 14 | + |
| 15 | +*Night mode with ambient lighting* |
15 | 16 |
|
16 | | -If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules: |
| 17 | +## Tech Stack |
17 | 18 |
|
18 | | -```js |
19 | | -export default defineConfig([ |
20 | | - globalIgnores(['dist']), |
21 | | - { |
22 | | - files: ['**/*.{ts,tsx}'], |
23 | | - extends: [ |
24 | | - // Other configs... |
| 19 | +This project is optimized using the latest web technologies and 3D graphics libraries: |
25 | 20 |
|
26 | | - // Remove tseslint.configs.recommended and replace with this |
27 | | - tseslint.configs.recommendedTypeChecked, |
28 | | - // Alternatively, use this for stricter rules |
29 | | - tseslint.configs.strictTypeChecked, |
30 | | - // Optionally, add this for stylistic rules |
31 | | - tseslint.configs.stylisticTypeChecked, |
| 21 | +- **Core:** [React 19](https://react.dev/) & [TypeScript](https://www.typescriptlang.org/) |
| 22 | +- **3D Engine:** [Three.js](https://threejs.org/) |
| 23 | +- **React Bridge:** [@react-three/fiber](https://docs.pmnd.rs/react-three-fiber) |
| 24 | +- **3D Utilities:** [@react-three/drei](https://github.com/pmnd.rs/drei) |
| 25 | +- **Styling:** [Tailwind CSS 4](https://tailwindcss.com/) |
| 26 | +- **Animations:** [Framer Motion](https://www.framer.com/motion/) |
| 27 | +- **AI Integration:** [Google Generative AI (Gemini)](https://ai.google.dev/) |
| 28 | +- **Build Tool:** [Vite](https://vitejs.dev/) |
| 29 | +- **Post-processing:** Bloom and Vignette effects via `@react-three/postprocessing` |
32 | 30 |
|
33 | | - // Other configs... |
34 | | - ], |
35 | | - languageOptions: { |
36 | | - parserOptions: { |
37 | | - project: ['./tsconfig.node.json', './tsconfig.app.json'], |
38 | | - tsconfigRootDir: import.meta.dirname, |
39 | | - }, |
40 | | - // other options... |
41 | | - }, |
42 | | - }, |
43 | | -]) |
44 | | -``` |
| 31 | +## Key Features |
| 32 | + |
| 33 | +- **Interactive 3D Environment:** 360-degree room exploration with zoom and pan capabilities. |
| 34 | +- **Dynamic Screens:** Desktop monitors feature dynamic digital displays showcasing projects and tech stacks. |
| 35 | +- **Matrix Effect:** Custom shader-based Matrix rain effect on specific terminal screens. |
| 36 | +- **Performance Optimization:** Seamless experience with `frameloop="demand"` and optimized DPR settings. |
| 37 | +- **Music & Audio:** Immersive ambient music managed through a central `MusicContext`. |
| 38 | +- **Gemini AI:** Artificial intelligence integration for smart content management and interactions. |
| 39 | + |
| 40 | +## Project Structure |
45 | 41 |
|
46 | | -You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules: |
47 | | - |
48 | | -```js |
49 | | -// eslint.config.js |
50 | | -import reactX from 'eslint-plugin-react-x' |
51 | | -import reactDom from 'eslint-plugin-react-dom' |
52 | | - |
53 | | -export default defineConfig([ |
54 | | - globalIgnores(['dist']), |
55 | | - { |
56 | | - files: ['**/*.{ts,tsx}'], |
57 | | - extends: [ |
58 | | - // Other configs... |
59 | | - // Enable lint rules for React |
60 | | - reactX.configs['recommended-typescript'], |
61 | | - // Enable lint rules for React DOM |
62 | | - reactDom.configs.recommended, |
63 | | - ], |
64 | | - languageOptions: { |
65 | | - parserOptions: { |
66 | | - project: ['./tsconfig.node.json', './tsconfig.app.json'], |
67 | | - tsconfigRootDir: import.meta.dirname, |
68 | | - }, |
69 | | - // other options... |
70 | | - }, |
71 | | - }, |
72 | | -]) |
| 42 | +```bash |
| 43 | +src/ |
| 44 | +├── components/ |
| 45 | +│ ├── canvas/ # 3D Models and Scene components (Room, Desk, Monitor, etc.) |
| 46 | +│ ├── overlays/ # UI layers placed over the 3D scene |
| 47 | +│ └── ui/ # Menus, Loading screens, and Buttons |
| 48 | +├── context/ # Centralized state management for Overlays and Music |
| 49 | +├── constants/ # Project data and configurations |
| 50 | +├── assets/ # Static media files |
| 51 | +└── App.tsx # Main entry point and R3F Canvas configuration |
73 | 52 | ``` |
| 53 | + |
| 54 | +## Installation |
| 55 | + |
| 56 | +To run the project locally: |
| 57 | + |
| 58 | +1. Clone the repository: |
| 59 | + ```bash |
| 60 | + git clone https://github.com/sametuca/DevSpawnPoint-Porfolio.git |
| 61 | + ``` |
| 62 | +2. Install dependencies: |
| 63 | + ```bash |
| 64 | + npm install |
| 65 | + ``` |
| 66 | +3. Start the development server: |
| 67 | + ```bash |
| 68 | + npm run dev |
| 69 | + ``` |
| 70 | + |
| 71 | +## Models & Assets |
| 72 | + |
| 73 | +The 3D models used in the project are located in the `public/models` directory. All models are in GLTF/GLB format and optimized for web performance. The scene consists of a desk, gaming chair, monitors, decorative items, and custom lighting setups. |
| 74 | + |
| 75 | +--- |
| 76 | +*Developed by: [Samet Uca](https://github.com/sametuca)* |
0 commit comments