How rharshith2005/baby-hackathon- works
Pinglet is a scroll-driven character portfolio and interactive web experience. Visitors enter through the hero and explore the character dossier, mood showcase, work panels, story chapters, and footer. The work panels provide three distinct interactions: a synthesized lullaby, a packet-catching game with a celebratory particle effect, and a locally persisted wish wall. The sampled sources show the app coordinating shared mood, audio, and hello-count state; unsampled details are represented only where the README or SOURCE INDEX supports them.
Main entry points: App.tsx App state · PingletSvg.tsx SVG character · WorkSection.tsx Work panels · CatchThePackets.tsx Packet game
Components 22
Portfolio experience
- App state
src/App.tsx - Hero section
src/components/HeroSection.tsx - Character dossier
src/components/CharacterSheet.tsx - Mood showcase
src/components/MoodsSection.tsx - Story chapters
src/components/StorySection.tsx - Header navigation
src/components/HeaderNav.tsx - Retro footer
src/components/FooterSection.tsx
Visitor interactions
- Work panels
src/components/WorkSection.tsx - Packet game
src/components/CatchThePackets.tsx - Dial-up lullaby
src/components/DialUpLullaby.tsx - Wish wall
src/components/WishWall.tsx - Particle canvas
src/components/DataPacketParticleCanvas.tsx - Easter egg modal
src/components/EasterEggModal.tsx
Interactive runtime
- Packet rules
src/game/packetRules.ts - Particle physics
src/game/particleSystem.ts - Audio synthesizer
src/utils/audioSynth.ts
Shared presentation
- 3D character
src/components/Pinglet3D.tsx - SVG character
src/components/PingletSvg.tsx - Sparkle cursor
src/components/SparkleCursorTrail.tsx
Other components
- Visitor
- Browser local storage
- Web Audio API
Connections 40
- Visitor → App state: opens experience
- App state → Header navigation: renders
src/App.tsx - App state → Hero section: renders
src/App.tsx - App state → Character dossier: renders
src/App.tsx - App state → Mood showcase: renders
src/App.tsx - App state → Work panels: renders
src/App.tsx - App state → Story chapters: renders
src/App.tsx - App state → Retro footer: renders
src/App.tsx - App state → Sparkle cursor: renders
src/App.tsx - App state → Easter egg modal: opens
src/App.tsx - Work panels → Packet game: renders
src/components/WorkSection.tsx - Work panels → Dial-up lullaby: renders
src/components/WorkSection.tsx - Work panels → Wish wall: renders
src/components/WorkSection.tsx - Work panels → Particle canvas: renders
src/components/WorkSection.tsx - Packet game → Packet rules: uses rules
src/components/CatchThePackets.tsx - Packet game → Audio synthesizer: plays effects
src/components/CatchThePackets.tsx - Packet game → Particle canvas: triggers burst
- Particle canvas → Particle physics: updates particles
src/components/DataPacketParticleCanvas.tsx - Particle canvas → Audio synthesizer: plays chime
src/components/DataPacketParticleCanvas.tsx - Dial-up lullaby → Audio synthesizer: plays tones
src/components/DialUpLullaby.tsx - Wish wall → Browser local storage: reads and writes
src/components/WishWall.tsx - Wish wall → Audio synthesizer: plays tones
src/components/WishWall.tsx - App state → Browser local storage: persists hello count
src/App.tsx - Header navigation → App state: selects mood
src/App.tsx - Header navigation → App state: triggers secret
src/App.tsx - Hero section → SVG character: renders
src/components/HeroSection.tsx - Mood showcase → SVG character: renders
src/components/MoodsSection.tsx - Character dossier → SVG character: renders
src/components/CharacterSheet.tsx - Story chapters → SVG character: renders
src/components/StorySection.tsx - Wish wall → SVG character: renders
src/components/WishWall.tsx - Easter egg modal → SVG character: renders
src/components/EasterEggModal.tsx - Audio synthesizer → Web Audio API: synthesizes sound
README.md - Visitor → Header navigation: activates controls
README.md - Visitor → Hero section: selects mood
README.md - Visitor → Mood showcase: chooses pose
README.md - Visitor → Packet game: plays game
README.md - Visitor → Dial-up lullaby: plays melody
README.md - Visitor → Wish wall: pins hello
README.md - Visitor → Easter egg modal: reveals letter
README.md - Hero section → 3D character: shows 3D model