An immersive 3D ocean ecosystem educational website built with Three.js, showcasing the magical world of South African kelp forests.
- Controllable 3D Octopus - WASD movement with mouse camera control
- Authentic Marine Life - Seals, penguins, sharks, reef fish, and more
- Natural Ecosystem Behaviors - Schooling, predation, foraging behaviors
- Educational Interactive System - Click marine animals to learn
- Immersive Audio - Ocean waves, bubbles, marine life sounds
- Advanced Material System - PBR materials with iridescent fish scale effects
- Dynamic Lighting - Volumetric lighting and caustic effects
- Particle Systems - Bubbles and bioluminescent plankton
- Post-Processing Effects - Depth of field and motion blur
- Cinematic Camera System - Multiple professional camera modes
- Photogrammetry System - Multi-image 3D reconstruction for hero species
- AI Depth Estimation - Single-image depth mapping for fish textures
- Procedural Generation - Biologically-accurate procedural marine life
- Intelligent Model Selection - Automatic best-method selection per species
- Performance Optimization - LOD systems and memory management
- Real-time FPS Display - Performance tracking
- Marine Life Counters - Live animal counts
- System Status - Module loading indicators
๐ Visit the live demo: https://elarwei001.github.io/ocean-forest-3d/
# Clone the repository
git clone https://github.com/Elarwei001/ocean-forest-3d.git
cd ocean-forest-3d
# Start local server (recommended)
python3 -m http.server 8000
# Or using Node.js
npx http-server
# Visit http://localhost:8000- WASD - Move octopus
- Mouse Movement - Camera view control
- M Key - Toggle mouse control mode
- Spacebar - Swim up
- Shift - Swim down
- Click Marine Life - View detailed information
- ๐ฌ Cinema Control Panel - Upper-right control panel
- Camera Modes - Follow, cinematic, orbit, documentary modes
- ๐ฆญ Cape Fur Seal (Arctocephalus pusillus)
- ๐ง African Penguin (Spheniscus demersus)
- ๐ฆ Great White Shark (Carcharodon carcharias)
- ๐ Yellowtail Amberjack (Seriola lalandi)
- ๐ Hottentot Fish (Pachymetopon blochii)
- Schooling - Fish separation, alignment, and cohesion behaviors
- Predation - Shark hunting patterns
- Territorial - Seal habitat protection
- Avoidance - Escape responses to predators
ocean_forest/
โโโ index.html # Main page
โโโ src/ # Source code directory
โ โโโ core/ # Core systems
โ โ โโโ OceanForest.js # Main application class
โ โ โโโ ModuleManager.js # Module manager
โ โโโ models/ # 3D models
โ โ โโโ OctopusModel.js # Octopus model
โ โ โโโ MarineAnimals.js # Marine animals
โ โ โโโ ReefFishModel.js # Reef fish model
โ โโโ systems/ # System modules
โ โ โโโ AudioSystem.js # Audio system
โ โ โโโ EducationSystem.js # Education system
โ โ โโโ RenderEngine.js # Render engine
โ โ โโโ PhotogrammetrySystem.js # 3D reconstruction
โ โ โโโ AIDepthEstimation.js # AI depth mapping
โ โ โโโ ProceduralModelGenerator.js # Procedural models
โ โ โโโ Advanced3DModelSystem.js # 3D model hub
โ โโโ ui/ # User interface
โ โโโ tests/ # Testing system
โ โโโ 3DModelGenerationTest.js # 3D model tests
โโโ assets/ # Resource files
โ โโโ styles/ # CSS styles
โ โโโ images/ # Image resources
โ โโโ sounds/ # Audio files
โโโ docs/ # Documentation
โโโ 3D-Model-Generation-Guide.md # Complete 3D model guide
For comprehensive information about the advanced 3D model generation system, see:
- 3D Model Generation Guide - Complete documentation
- Testing Guide - Automated testing with
src/tests/3DModelGenerationTest.js
- Hero Species - Use photogrammetry with 3+ reference images
- Standard Fish - Use AI depth estimation with single reference image
- Background Species - Use procedural generation with biological parameters
- Three.js r128 - 3D graphics rendering
- WebGL - Hardware-accelerated graphics
- Web Audio API - Spatial audio
- ES6+ JavaScript - Modern JavaScript
- CSS3 - Modern styling and animations
- Modular Architecture - Scalable code structure
- Physical Rendering - PBR material system
- Dynamic Lighting - Real-time shadows and reflections
- Particle Effects - 200+ bubbles, 150+ bioluminescent plankton
- Post-Processing - Depth of field, tone mapping
- Follow Mode - Smooth octopus following
- Cinematic Mode - Professional camera movements
- Orbit Mode - Orbital cinematography
- Documentary Mode - Handheld camera effects
- Page Loading Stuck - Check browser WebGL support
- Abnormal Fish Swimming - Refresh page to reset state
- Control Panel Not Showing - Ensure all scripts are loaded
- Reduce particle density
- Disable advanced lighting effects
- Reduce marine life count
- Fork the project
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details
- Three.js Community - Powerful 3D library
- South African Marine Research Institute - Behavioral references
- Marine Conservation Organizations - Educational content support
๐ Experience the Mysterious Ocean Forest World! ๐
Developed with assistance from Claude Code