WorldMints v1: A Deterministic World Simulation
A single-page web application that creates fully deterministic, procedurally generated world simulations with complete reproducibility and complex social dynamics.

Introduction
WorldMints v1 is an ambitious single-page web application that creates a fully deterministic, procedurally generated world simulation. This project represents a unique approach to digital world-building, where every aspect of the simulation is completely predictable and reproducible based on a seed value and time progression.
Core Concept
The project simulates an entire world from its geological formation through the emergence of civilizations, complete with individual people, cities, factions, and complex social dynamics. What makes this project truly remarkable is its deterministic nature - given the same seed and time, the simulation will always produce identical results, ensuring complete consistency and reproducibility.
Technical Architecture
Deterministic Foundation
The simulation is built around a robust deterministic system that processes every single tick from the beginning of time (tick 0) to the current moment. This ensures:
- Complete Consistency: The same world state is always generated for the same seed and time
- No Event Skipping: All entity interactions, births, deaths, and faction formations are preserved
- Historical Accuracy: The simulation maintains the complete history of the world
- Reproducible Results: Regardless of how old the world becomes, the simulation remains consistent
World Generation
The world is generated using sophisticated geological and biome systems:
- Geology System: Creates realistic elevation, moisture, and temperature maps
- Biome Assignment: Assigns appropriate biomes based on environmental conditions
- Color Palettes: Eight different visual themes ranging from Classic Earth to Desert Sands
- Configurable Dimensions: 64x32 cell world with customizable cell sizes
Entity System
The simulation features a rich hierarchy of entities:
People
- Skill-based System: Military, technology, religion, diplomacy, and research skills (1-10 scale)
- Personality Traits: Analytical, charismatic, disciplined, creative, ambitious, and more
- Experience & Leveling: People gain experience and improve skills over time
- Specializations: Each person excels in a particular area
- Faction Membership: People can join and influence factions
Civilizations
- Population Growth: Dynamic population expansion
- Resource Management: Wealth, technology, and military development
- Faction Influence: Civilizations can be influenced by multiple factions
- Territorial Control: Manage and expand their territory
Cities
- Infrastructure Development: Roads, buildings, and urban planning
- Population Centers: Hubs for civilization growth
- Faction Control: Cities can be controlled by dominant factions
Factions
- Ideological Types: Militaristic, religious, diplomatic, isolationist, expansionist
- Resource Pooling: Collect resources from member entities
- Relationship System: Complex diplomatic relationships between factions
- Goal-oriented Behavior: Factions pursue specific objectives
- Territorial Control: Manage controlled territories and allies
Animals
- Ecosystem Integration: Part of the natural world simulation
- Behavioral Patterns: Realistic animal behaviors and interactions
Key Features
Real-time Progression
The world progresses in real-time based on a configurable time scale:
- Evolution Speed: 0.1x (10% of real-time)
- Time Scale: 1 hour real-time = 1 day simulation time
- Mint Date: July 1, 2025 (configurable starting point)
Visual Representation
- 3D Globe Rendering: Uses Three.js for immersive 3D visualization
- Interactive Interface: Click on entities to view detailed information
- Dynamic UI: Real-time statistics and world information
- Multiple Color Themes: Eight different visual palettes
Advanced Systems
Checkpoint System
- Memory Management: Saves checkpoints every 1000 ticks for long simulations
- Efficient Loading: Can resume from recent checkpoints
- State Preservation: Maintains complete world state
Faction Dynamics
- Complex Relationships: Alliances, rivalries, and neutral stances
- Resource Competition: Factions compete for influence and resources
- Strategic Actions: Factions plan and execute actions based on their ideology
Infrastructure Management
- Road Networks: Connects cities and civilizations
- Urban Development: Buildings and city planning
- Territorial Expansion: Infrastructure follows civilization growth
User Interface
The application features a sophisticated, modern UI with:
- Toolbar: Real-time world statistics, seed information, and controls
- Entity Inspection: Detailed popups for individual entities
- Faction Panel: Comprehensive faction information and relationships
- History Panel: World events and historical records
- Loading System: Detailed progress tracking for long simulations
- Keyboard Shortcuts: Quick access to various features
Technical Implementation
Modular Architecture
The codebase is organized into logical modules:
- Game Logic: Entity classes and simulation rules
- Rendering: Three.js-based 3D visualization
- UI Management: User interface and interaction handling
- Simulation Engine: Core deterministic simulation logic
- Utility Functions: Helper functions and calculations
Performance Optimization
- Asynchronous Processing: Non-blocking simulation updates
- Frame Rate Limiting: 30 FPS target for smooth rendering
- Efficient Updates: UI updates throttled to 100ms intervals
- Memory Management: Checkpoint system for long-running simulations
Configuration
The world is highly configurable through the WORLD_CONFIG
object:
- Seed: "waterworld2025" (determines world generation)
- World Dimensions: 64x32 cells
- Color Palette: 8 different visual themes
- Time Settings: Evolution speed and time scale
- Checkpoint Settings: Frequency and memory limits
Philosophical Implications
This project raises fascinating questions about determinism, free will, and the nature of complex systems. By creating a world where every event is predetermined by the initial seed, it demonstrates how complex, seemingly chaotic systems can emerge from simple deterministic rules.
Future Potential
The modular architecture and deterministic foundation make this project highly extensible:
- Additional Entity Types: More complex life forms and structures
- Enhanced AI: More sophisticated faction and individual behaviors
- Multiplayer: Deterministic nature makes multiplayer synchronization possible
- Export/Import: Save and share specific world states
- Visual Enhancements: More detailed 3D models and effects
Conclusion
WorldMints v1 represents a unique intersection of procedural generation, deterministic simulation, and interactive storytelling. It demonstrates how complex, living worlds can emerge from simple mathematical rules, while maintaining complete consistency and reproducibility. This project opens new possibilities for digital world-building, where every detail matters and every moment is preserved in the grand tapestry of the simulation's history.
The deterministic approach ensures that these digital worlds are not just random simulations, but living, breathing entities with their own unique histories, cultures, and destinies - all predetermined yet infinitely complex.