How mounishwarans2/deepsealink-3d-simulation works
DeepSeaLink is a 3D underwater acoustic-communications digital-twin simulation. Users navigate the rendered ocean, inspect hardware nodes, and toggle marine life; the app composes the ocean scene and maintains selection and hover state. The scene combines terrain, seabed, water, network equipment, acoustic effects, and fauna, while device inspection presents node telemetry. The graph follows explicit App composition and sampled/source-index references. The README is only generic Vite-template guidance, so it does not document further product capabilities; unsampled modules are included only where the source index establishes their role or composition.
Main entry points: OceanEnvironment.tsx Ocean scene · App.tsx Application shell · MarineLifeManager.tsx Fauna manager · Crab.tsx Crabs
Components 22
Application and interaction
- Application shell
src/App.tsx - Free camera
src/components/Camera/FreeCameraController.tsx - Depth display
src/components/Camera/CameraHUD.tsx - Device interaction
src/components/Interaction/DeviceInteraction.tsx - Device inspector
src/components/Interaction/DeviceInspector.tsx
Ocean scene
- Ocean scene
src/components/Ocean/OceanEnvironment.tsx - Coastal terrain
src/components/Environment/CoastalTerrain.tsx - Coastal vegetation
src/components/Environment/CoastalVegetation.tsx - Land data receiver
src/components/Environment/LandDataReceiver.tsx - Land server area
src/components/Environment/LandServerArea.tsx - Seabed
src/components/Ocean/Seabed.tsx - Seabed shader
src/shaders/seabedShader.ts - Coral reef
src/components/Ocean/CoralReef.tsx
Communications network
- Acoustic propagation
src/components/Communication/AcousticPropagation.tsx - Acoustic hardware
src/components/Network/AcousticHardware.tsx - Mesh topology
src/components/Network/MeshTopologyNetwork.tsx
Marine life
- Fauna manager
src/components/MarineLife/MarineLifeManager.tsx - Fish schools
src/components/MarineLife/FishSchool.tsx - Whales
src/components/MarineLife/Whale.tsx - Crabs
src/components/MarineLife/Crab.tsx - Fauna simulation
src/components/MarineLife/marineLifeSimulation.ts
Other components
- User
Connections 22
- User → Application shell: operates
- Application shell → Free camera: mounts
src/App.tsx - Application shell → Depth display: mounts
src/App.tsx - Application shell → Ocean scene: renders
src/App.tsx - Application shell → Device interaction: mounts
src/App.tsx - Application shell → Device inspector: renders
src/App.tsx - Ocean scene → Coastal terrain: renders
src/components/Ocean/OceanEnvironment.tsx - Ocean scene → Coastal vegetation: renders
src/components/Ocean/OceanEnvironment.tsx - Ocean scene → Land data receiver: renders
src/components/Ocean/OceanEnvironment.tsx - Ocean scene → Land server area: renders
- Ocean scene → Seabed: renders
src/components/Ocean/OceanEnvironment.tsx - Seabed → Seabed shader: uses
src/components/Ocean/Seabed.tsx - Ocean scene → Coral reef: renders
src/components/Ocean/OceanEnvironment.tsx - Ocean scene → Acoustic propagation: renders
src/components/Ocean/OceanEnvironment.tsx - Ocean scene → Acoustic hardware: renders
src/components/Ocean/OceanEnvironment.tsx - Ocean scene → Mesh topology: renders
src/components/Ocean/OceanEnvironment.tsx - Ocean scene → Fauna manager: renders
src/components/Ocean/OceanEnvironment.tsx - Fauna manager → Fish schools: renders
src/components/MarineLife/MarineLifeManager.tsx - Fauna manager → Whales: renders
src/components/MarineLife/MarineLifeManager.tsx - Fauna manager → Crabs: renders
src/components/MarineLife/MarineLifeManager.tsx - Crabs → Fauna simulation: uses
src/components/MarineLife/Crab.tsx - Crabs → Coastal terrain: queries seabed
src/components/MarineLife/Crab.tsx