vikasyadavnsit

๐Ÿš€ Vikas Yadav: An Operating System for Projects

Next.js TypeScript Tailwind Framer Motion

A high-performance personal portfolio showcasing the intersection of AI/ML, Creative Coding, and Web Security.
๐Ÿ  Visit Live Website โ€ข ๐Ÿ” Technical Deep Dives โ€ข ๐Ÿ”ง Getting Started


๐ŸŒŸ Vision

This isnโ€™t just a portfolioโ€”itโ€™s a decentralized hub for engineering excellence. Every project is built as a semi-autonomous โ€œmicro-appโ€ with a heavy focus on client-side execution, zero-latency, and privacy-first logic.


๐ŸŽฎ Fun Stuff: AI & AR Toys

Experimental toys that push the boundaries of browser-based interaction.

๐ŸŽจ Creative Stuff: Productivity Engines

Complex platforms for automation and visual expression.

๐Ÿ›ก๏ธ Security & Utilities: Privacy-First

Zero-knowledge utilities using modern browser security APIs.


๐Ÿ” Technical Deep Dives

1. Fruit Ninja AR: Hand-Tracking Game Loop
- **Initialization:** MediaPipe `hand_landmarker` task loads in a Web Worker to keep the UI thread smooth. - **The Tracking Loop:** `requestAnimationFrame` captures frames โ†’ MediaPipe identifies 21 landmarks โ†’ Landmark 8 (Index Tip) coordinates are mapped to the game canvas. - **Game Engine:** Custom physics engine manages fruit spawning, gravity, and bounding-box collision detection. - **Audio:** Real-time oscillators synthesize "woosh" and "splat" sounds, ensuring a < 50KB assets footprint for sound effects.
2. Workflow Builder: Visual Logic Execution
- **Visual State:** Managed via **React Flow** context with persistent storage in **IndexedDB**. - **Execution Engine:** A depth-first traverser walks the node graph. - **HTTP Nodes:** Execute client-side `fetch`. - **Code Nodes:** Execute user scripts in a sandboxed environment using `new Function()`. - **Transform Nodes:** Data mapping using JSONPath logic.
3. Security Suite: Zero-Knowledge Flow
- **Key Derivation:** Master Password + Salt โ†’ `PBKDF2` (100,000 iterations) โ†’ 256-bit AES Key. - **Encryption:** `crypto.subtle.encrypt` using AES-GCM mode for authenticated encryption. - **Storage:** Only the Initial Vector (IV), Salt, and Encrypted Blob are stored. This ensures the data is useless without the original master password.
4. Algorithm Arena: Multi-Language Simulation
- **Execution Model:** Native `new Function()` execution for JS/TS. - **Logic Mapping:** Regex-based transpilation layers for Python, Java, C++, and Go map idiomatic constructs (e.g., `fmt.Println`, `vector`) to JavaScript execution logic. - **UI Architecture:** Custom-built `ResizablePane` component manages a draggable 3-pane layout without external libraries. - **Persistence:** Real-time state syncing with `localStorage` ensures user code survives refreshes and language switches. </details> --- ## ๐Ÿ› ๏ธ Tech Stack & Infrastructure - **Core:** [Next.js 16 (App Router)](https://nextjs.org/), TypeScript, Tailwind CSS. - **AI/ML:** MediaPipe & TensorFlow.js. - **Graphics:** Three.js (3D), P5.js (2D Canvas), Framer Motion (UI Animations). - **Backend/State:** Firebase Realtime DB, IndexedDB (Client-side persistence). - **Deployment:** [GitHub Actions](.github/workflows/nextjs.yml) for automated static export (`output: 'export'`) to GitHub Pages. --- ## ๐Ÿ”ง Getting Started
### Installation & Development ```bash # Clone the repository git clone https://github.com/vikasyadavnsit/vikasyadavnsit.github.io.git # Install dependencies npm install # Run the dev server npm run dev ``` ---

Developed with ๐Ÿ’ป by Vikas Yadav
Pushing the limits of what's possible in a browser.