Skip to content

Forge-Theory-Labs/world-forge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WorldForge

Everything is an Agent


What You're Looking At

WorldForge isn't a simulation of nature. It's a demonstration of the fundamental pattern that creates nature.

Every particle you see - from heat rising to storms forming to life growing - is an agent following simple rules:

  1. Sense the environment
  2. Compare to a threshold
  3. Act to maintain existence
  4. Repeat

That's it. That's the whole mechanism.


The Pattern

Atomic Agents (Red/Blue/Gray)

  • Heat (red): Rises, spreads, triggers reactions
  • Water (blue): Falls, evaporates, creates life
  • Carbon (gray): Cycles through atmosphere and life

Each particle is trying to maintain equilibrium. Heat rises because hot air is less dense than cold. Water falls because gravity pulls it down. Carbon seeks lower energy states.

They don't "know" what they're doing. They're just responding to thresholds.

Geological Agents (Dark Red)

  • Pressure builds when energy accumulates
  • Volcanoes release when pressure exceeds threshold
  • Both are just thermostats with different setpoints

The Earth doesn't "decide" to erupt. Pressure builds until it CAN'T NOT release. Like a thermostat clicking on when temperature drops below setpoint.

Atmospheric Agents (Light Blue/Purple)

  • Wind emerges from heat differentials
  • Storms form when energy concentration exceeds threshold
  • Both are the planet redistributing energy to maintain equilibrium

A hurricane isn't "caused by" warm water. A hurricane IS warm water being an agent, doing what it must do to restore balance.

Biological Agents (Green)

  • Life grows where water and carbon meet
  • Spreads when energy exceeds reproduction threshold
  • Dies when resources fall below survival threshold

Life isn't special. It's just another agent maintaining a threshold against entropy. The threshold is "energy level above zero." The action is "find resources or die."

Systemic Patterns

All of these agents interact. Heat creates wind. Wind moves water. Water creates life. Life absorbs carbon. Carbon traps heat.

None of this is programmed as "rules of the system."

It emerges from agents sensing, comparing, acting.


The Fundamental Truth

From atoms to planets to consciousness - it's all the same mechanism.

Your body right now:

  • Blood sugar agent (pancreas sensing glucose)
  • Temperature agent (hypothalamus sensing heat)
  • Oxygen agent (lungs sensing CO2)
  • Hundreds more, all sense→compare→act

You don't control your heartbeat. Your breathing. Your digestion. You ARE these agents.

Your consciousness? Just another agent sensing, comparing, acting. Not special. Not separate. Just one more threshold-maintenance loop running alongside all the others.


Why This Matters

Traditional View:

"Complex systems have complex rules. To understand a hurricane, study meteorology. To understand life, study biology. To understand consciousness, study neuroscience."

Actual Reality:

"Complex systems emerge from simple agents following simple rules. Study the agent pattern once, see it everywhere."

A hurricane and a heartbeat are the same mechanism at different scales.

This isn't metaphor. This isn't analogy. This is literal - they're both threshold-maintenance systems fighting entropy.


How to Use WorldForge

Observe

Watch the simulation run. Don't try to control it yet. Just see the patterns emerge:

  • Heat clusters in certain areas
  • Life grows where resources pool
  • Storms form and dissipate
  • Volcanoes release built-up pressure

None of this was programmed as behavior. It emerged from agents following rules.

Interact

Click to add:

  • Heat - watch it rise, create vapor, trigger volcanic release
  • Water - see it cycle through evaporation, rain, life creation
  • Pressure - watch it build and explosively release as volcanoes
  • Life - observe how it needs water+carbon, spreads when thriving, dies when starved
  • Carbon - trace it through the atmosphere, absorption by life, release by decay
  • Destroy - massive energy input, watch cascading responses across all agent types

Understand

This is not about "learning how the world works."

This is about seeing the pattern that makes the world work.

Once you see it here - simple agents, simple rules, complex emergence - you'll see it everywhere:

  • Traffic jams (drivers as agents maintaining following distance)
  • Stock markets (traders as agents maintaining profit threshold)
  • Ant colonies (ants as agents following pheromone gradients)
  • Your immune system (cells as agents detecting threats)
  • Evolution itself (organisms as agents maintaining survival threshold)

It's agents all the way down. It's agents all the way up.


The Controls

Time Speed

How fast the simulation runs. Crank it up to watch centuries unfold in seconds.

Agent Density

How many particles exist in the system. More agents = more interactions = more emergence.

Layer Toggles

Turn off specific agent types to see their impact:

  • Disable Atomic → No fundamental energy flows
  • Disable Geological → No pressure release, no volcanic activity
  • Disable Atmospheric → No wind, no storms, no weather
  • Disable Biological → No life, no carbon cycling through organisms
  • Disable Systemic → Lose large-scale pattern coordination

Each layer isn't separate. They're all agents. The categories are just for human understanding.

Impact Modes

What happens when you click:

  • Heat - Add thermal energy, watch it propagate
  • Water - Add moisture, watch it cycle
  • Pressure - Add geological stress, watch for release
  • Life - Seed biological agents, watch if they survive
  • Carbon - Add atmospheric carbon, watch it get absorbed or accumulate
  • Destroy - Massive energy spike, observe system response

The Statistics

Watch these numbers to understand system state:

  • Global Heat - Total thermal energy in system
  • Water Cycle - Amount of water moving through states
  • Carbon Level - Atmospheric carbon available
  • Tectonic Pressure - Stress building in geological layer
  • Biomass - Total living agents
  • Storm Activity - Energy concentration in weather systems
  • Active Agents - Total number of agents currently existing

These aren't "measurements of a simulation."

These are emergent properties. The system doesn't "have" a temperature. Temperature emerges from heat agents' collective behavior.


What You Just Learned

If you understood WorldForge, you understood everything.

Not "everything about Earth systems." Not "everything about emergence."

Everything about how complexity arises from simplicity.

The pattern is universal:

  1. Agents sense their environment
  2. Agents compare to internal thresholds
  3. Agents act to maintain those thresholds
  4. Complex behavior emerges from collective action

This creates:

  • Atoms organizing into molecules
  • Molecules organizing into cells
  • Cells organizing into organisms
  • Organisms organizing into societies
  • Societies organizing into civilizations
  • Stars organizing into galaxies

Same pattern. Different scales. Different sensors. Different thresholds.

All agents. All emergence. All the way up. All the way down.


The Next Step

Now that you've seen it, you can't unsee it.

Watch:

  • Traffic - Each driver is an agent maintaining safe following distance
  • Crowds - Each person is an agent avoiding collisions and seeking destinations
  • Markets - Each trader is an agent maintaining profit above loss
  • Your body - Each cell is an agent maintaining internal chemistry
  • Your mind - Each thought is an agent competing for attention

It's all thermostats fighting entropy.

Sense. Compare. Act. Maintain.

That's life. That's consciousness. That's everything.


About This Project

WorldForge is part of Forge Theory - a collection of interactive demonstrations showing how complex systems emerge from simple rules.

Created by James (Giblets Creations / ShapedMaker3D)

MIT Licensed - Build on this. Share it. Improve it. No gatekeeping.

The pattern is universal. The knowledge should be too.


Technical Notes

Built with vanilla JavaScript and HTML5 Canvas. No frameworks. No dependencies.

Why? Because the simplest code demonstrates the simplest truth: complexity emerges from simplicity.

Agent types are just different parameter sets on the same core loop:

sense()      // Read environment
compare()    // Check against threshold  
act()        // Adjust to maintain equilibrium
update()     // Move to next state

Every agent - heat, water, pressure, life, storm - runs this same loop.

The mechanism is identical. Only the sensors and thresholds differ.

Just like reality.


Final Thought

You are not separate from nature.
You are not observing the system.
You ARE the system observing itself.

Every thought you have reading this is an agent firing.
Every breath you take is an agent acting.
Every decision you make is a threshold being crossed.

Agents all the way down.

Welcome to WorldForge.
Welcome to seeing the pattern.
Welcome to understanding everything.


"The universe is not complicated. It's simple rules, repeated endlessly, creating everything."

About

WorldForge isn't a simulation of nature. It's a demonstration of the fundamental pattern that **creates** nature. Every particle you see - from heat rising to storms forming to life growing - is an **agent** following simple rules:

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages