Pursuing the most accurate crop simulations at a global scale through comprehensive Earth system modeling
This project aims to recreate Earth's geological evolution from core formation to present-day soil composition, enabling unprecedented accuracy in global crop and ecosystem simulations. By modeling the complete Earth system - from inner core dynamics to surface soil formation - we can predict both historical events and future outcomes with remarkable precision.
The most accurate crop simulations at a global scale that anyone has seen.
We believe that by recreating the fundamental composition and processes of Earth itself, we can achieve the most accurate predictions of:
- Historical soil formation and composition
- Future vegetation patterns and crop yields
- Ecosystem responses to geological changes
- Climate-vegetation-geology interactions
Our simulator recreates Earth's complete structure:
- Inner Core: Iron-nickel crystallization, magnetic field generation
- Outer Core: Convective dynamics, heat transfer to mantle
- Magnetic Field: Geodynamo effects on surface processes
- Lithosphere: Rigid outer shell, tectonic plate formation
- Asthenosphere: Plastic deformation, plate movement
- Transition Zone: Phase changes, water storage
- Lower Mantle: Deep convection, slab recycling
- D'' Layer: Ultra-low velocity zone, plume generation
- Continental Crust: Granite-dominated, thick, stable
- Oceanic Crust: Basalt-dominated, thin, dynamic
- Tectonic Plates: Movement, collision, subduction
- Hot Spots: Volcanic activity, island formation
- Weathering: Rock breakdown by climate and time
- Erosion: Transport of materials by water and wind
- Deposition: Accumulation of sediments
- Biological Activity: Organic matter incorporation
- Mineral Transformation: Chemical and physical changes
- Core Dynamics: Inner core growth, outer core convection
- Mantle Convection: Multi-layer heat transfer and flow
- Plate Tectonics: Realistic plate movement and interactions
- Spatial Grid: 256x256 high-resolution simulation grid
- Temperature Modeling: Latitude-based solar heating + Lapse rate based on elevation
- Wind Systems: Global trade winds and westerlies
- Precipitation: Orographic rainfall (rain shadows) and humidity tracking
- Biomes: Dynamic biome classification based on Temp/Rainfall (Desert, Forest, Snow, Ocean)
- Crop Simulation: Growth cycles for Tomatoes and Wild Grass
- Environmental sensitivity: Plants grow or die based on local microclimate (Temp/Water)
- 3D Visualization: Instanced meshes representing plant growth stages
- Real-Time 3D: Bevy Engine powered visualization
- Terrain Generation: Procedural noise OR Real-world heightmap Import
- Real World Search: Search any location (e.g., "Everest") to fetch and render real elevation data (AWS Terrarium)
- Orbit Camera: Blender-style controls (Rotate/Pan/Zoom)
- Orbit: Hold Middle Mouse Button and drag to rotate.
- Pan: Hold Shift + Middle Mouse Button and drag to move.
- Zoom: Use Mouse Wheel to zoom in/out.
- UI: Use the side panel to Search Locations or Regenerate Random terrain.
- Rust: High-performance, memory-safe systems programming
- Modular Design: Separate modules for each Earth layer
- Real-time Simulation: Efficient computation for long time periods
- Scientific Accuracy: Based on current geological understanding
// Core system modules
earth/
โโโ inner_core.rs // Solid iron-nickel core dynamics
โโโ outer_core.rs // Liquid metal convection
โโโ mantle.rs // Multi-layer mantle system
โโโ crust.rs // Surface geology and soil formation- Core-mantle-crust system
- Plate tectonics
- Basic soil formation
- High-res Grid System (256x256)
- Procedural Terrain Generation
- 3D Mesh Generation (Bevy)
- Temperature & Solar Insolation
- Wind Patterns & Precipitation
- Biome Classification
- Plant Growth Engine
- Crop Types (Tomato, Grass)
- 3D Plant Visualization
- Orbit Camera Controls
- Address Search & Geocoding
- Elevation Data Fetching (AWS Terrarium)
- Soil Microbiology
- Complex Ecosystems (Predator/Prey)
- Agricultural crop yield predictions
- Predict crop yields based on soil composition
- Model agricultural land suitability
- Forecast climate change impacts on farming
- Understand historical climate patterns
- Model future climate scenarios
- Study climate-geology feedback loops
- Predict ecosystem changes
- Model habitat evolution
- Forecast biodiversity impacts
- Reconstruct past environments
- Model ancient climate conditions
- Understand historical agricultural patterns
- Rust 1.70+ installed
- Git for version control
git clone https://github.com/Azteriisk/World_Sim.git
cd World_Sim
cargo build
cargo run# Run a 10-million year simulation
cargo run
# The simulator will show:
# - Initial Earth state
# - Geological events during simulation
# - Final state with soil composition=== Initial States ===
Inner Core: Radius 1221.0 km, Temperature 5400ยฐC
Outer Core: Convection strength 0.50, Magnetic field 0.45
Mantle: Multi-layer convection and plate movement
Crust: Continental type, 35.00 km thickness
=== Simulating 10000000 years ===
๐ Plate spreading: gained 10000.0 kmยฒ new area
๐ Back-arc spreading: plate area increased by 2000.0 kmยฒ
โฐ๏ธ Crust tectonic adjustment: thickness changed by 0.064 km
๐ Crust erosion: reduced thickness by 1.000 km
=== Final Soil Composition ===
- Mineral distribution: silicates, minor iron
- Sediment thickness: 2.00 km
- Surface temperature: 15.0ยฐC
- Vegetation coverage: 50.0%
We welcome contributions from:
- Geologists: Improve geological accuracy
- Climate Scientists: Add atmospheric modeling
- Biologists: Enhance biological systems
- Programmers: Optimize performance and features
- Agricultural Scientists: Add crop-specific modeling
- Fork the repository
- Create a feature branch
- Make your changes with scientific accuracy
- Add tests for new functionality
- Submit a pull request with detailed description
This project is based on current understanding from:
- Plate tectonics theory
- Core-mantle dynamics
- Soil formation processes
- Climate-geology interactions
- Agricultural soil science
This project is licensed under the MIT License - see the LICENSE file for details.
- Geological community for foundational knowledge
- Climate scientists for atmospheric insights
- Agricultural researchers for soil-crop relationships
- Open source community for development tools
- GitHub: @Azteriisk
- Project: World_Sim Repository
"By understanding Earth's past, we can predict its future and optimize our relationship with the planet."
๐ Building the most accurate Earth simulation for global crop prediction ๐ฑ