Skip to content

Forge-Theory-Labs/ScriptForge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


🚩 Features

  • Interactive simulation of written language evolution
  • Visualizes symbol simplification, innovation, and cultural divergence
  • Adjustable parameters: population, isolation, innovation, simplification, vocabulary, and more
  • Export/import simulation state, images, and parameter presets
  • Analytics: charts for complexity, vocabulary growth, and divergence
  • Communication log with filtering, search, and export
  • Mobile and touch-friendly UI
  • No dependencies, works fully offline

🏁 How to Use

  1. Open ScriptForge.html in your browser (no install needed).
  2. Adjust parameters in the left panel (population, evolution, communication, etc.).
  3. Start the simulation with the "Start Evolution" button.
  4. Observe the evolution of scripts, agent communication, and analytics.
  5. Step through generations or adjust speed for detailed analysis.
  6. Export data, images, or parameter presets as needed.
  7. Import previous runs or share configurations with others.

🖼️ Screenshots

ScriptForge Screenshot


❓ FAQ / Troubleshooting

Q: The simulation doesn't start or UI looks broken?

  • Make sure you opened ScriptForge.html in a modern browser (Chrome, Firefox, Edge, Safari).
  • If you downloaded from GitHub, ensure all files are in the same folder.

Q: Can I use this offline?

  • Yes! ScriptForge is fully offline-capable.

Q: How do I share a simulation setup?

  • Use the "Copy Shareable Config Link" in the Export section to generate a URL with your parameters.

Q: Can I contribute or suggest features?

  • Absolutely! See the Contributing section below.

🤝 Contributing

Contributions, bug reports, and feature suggestions are welcome!

  1. Fork this repository
  2. Create a new branch for your feature or fix
  3. Submit a pull request with a clear description

For major changes, please open an issue first to discuss what you’d like to change.


📄 License

This project is licensed under the MIT License. See LICENSE for details.

🪶 ScriptForge

Written Language Evolution Simulator

Watch writing systems emerge, evolve, and diverge—right before your eyes.

HTML Badge Zero Dependencies Offline Ready

🚀 Try ScriptForge Now


From pictographs to alphabets, from clarity to abstraction—ScriptForge simulates the fascinating journey of written language evolution.


What is ScriptForge?

ScriptForge is an interactive simulator that demonstrates how written language systems can emerge and evolve—from simple pictographic communication into complex scripts with grammar, abstraction, and regional variation. Agents develop writing systems through practical communication needs, efficiency pressures, and cultural transmission.


🌱 Core Concept

Agents need to communicate concepts (objects, actions, relationships). They start with direct pictographic representation and, through generations of use, simplification, and innovation, develop sophisticated writing systems. These may trend toward phonetic encoding, develop grammar rules, and spawn regional dialects.

✨ Emergent Behaviors

1. The Rebus Principle

  • Symbols initially represent things
  • Agents discover they can use symbols for their sound
  • "Sun" symbol becomes "son" (sound-based abstraction)
  • Enables representation of abstract concepts

2. Stroke Simplification

  • Complex pictographs simplified for speed
  • Frequently used symbols lose detail first
  • Trade-off between clarity and efficiency
  • Eventually → standardized simplified forms

3. Ligatures and Combinations

  • Frequently paired symbols fuse together
  • New compound meanings emerge
  • Grammar particles develop from combinations
  • Symbol position gains meaning

4. Cultural Drift

  • Isolated groups develop variant forms
  • Different simplification paths
  • Regional "dialects" in writing
  • Mutual intelligibility decreases over time

5. Alphabetic Convergence

  • Pressure toward phonetic encoding
  • Smaller symbol set = easier learning
  • Sound-based systems more flexible
  • Natural evolution toward efficiency

6. Grammar Emergence

  • Word order patterns stabilize
  • Positional meaning develops
  • Modifier symbols emerge (plurality, tense, etc.)
  • Syntax rules from usage patterns

⚙️ System Mechanics

Agents

  • Have communication needs (concepts to express)
  • Learn symbols from others
  • Innovate new symbols when needed
  • Simplify frequently used symbols
  • Remember symbol-meaning associations

Symbols

  • Start as pictographs (visual resemblance)
  • Track stroke complexity
  • Track usage frequency
  • Evolve through copying errors and simplification
  • Can be combined into compounds

Communication Pressure

  • Agents need to convey specific concepts
  • Successful communication reinforces symbols
  • Failed communication drives innovation
  • Frequency of use drives simplification

Evolution Drivers

  1. Frequency - common symbols simplify faster
  2. Clarity - must remain distinguishable
  3. Learnability - simpler systems spread faster
  4. Expressiveness - must handle needed concepts
  5. Cultural isolation - creates variation

🖼️ Visualization

Main Canvas

  • Symbol evolution tree over time
  • Current "active" symbols in use
  • Stroke complexity indicators
  • Usage frequency heat mapping

Agent Communication

  • Agents attempting to communicate
  • Symbol transmission between agents
  • Success/failure feedback
  • Innovation moments highlighted

Script Comparison

  • Side-by-side regional variants
  • Common ancestry highlighting
  • Divergence metrics
  • Mutual intelligibility tracking

🧩 Parameters

Evolution Speed

  • Simplification rate
  • Innovation frequency
  • Learning speed
  • Cultural drift rate

Population

  • Number of agent groups
  • Isolation level between groups
  • Population turnover (generations)

Communication Needs

  • Vocabulary size required
  • Concept complexity
  • Communication frequency

Cognitive Constraints

  • Symbol learning capacity
  • Memory retention
  • Pattern recognition ability

🛠️ Implementation Phases

Phase 1: Basic Pictographs

  • Agents create direct visual symbols
  • Simple object representation
  • Basic transmission between agents

Phase 2: Simplification

  • Stroke reduction over time
  • Frequency-based evolution
  • Standardization within groups

Phase 3: Abstraction

  • Rebus principle emergence
  • Sound-based usage
  • Abstract concept representation

Phase 4: Grammar

  • Combination rules
  • Positional meaning
  • Syntax patterns

Phase 5: Cultural Variation

  • Multiple isolated groups
  • Divergent evolution
  • Dialect formation

🎓 Educational Value

Demonstrates

  • Why writing systems trend toward phonetic encoding
  • How complex grammar emerges from usage
  • Why related languages have cognate words
  • The trade-off between pictographic and phonetic systems
  • How cultural isolation creates language families

Historical Parallels

  • Egyptian hieroglyphics → Hieratic → Demotic
  • Chinese character simplification
  • Phoenician → Greek → Latin alphabets
  • Cuneiform evolution
  • Regional script variations (Arabic, Chinese)

💻 Technical Implementation

Zero Dependencies

  • Pure HTML/CSS/JavaScript
  • Canvas for visual rendering
  • No external libraries
  • Fully offline capable

Mobile Optimized

  • Touch-friendly controls
  • Responsive layout
  • Performance optimized
  • Clear visual hierarchy

🔥 Forge Theory Connection

Simple rule: "Agents need to communicate ideas"

Emergent complexity: Complete writing systems with grammar, regional variation, phonetic encoding, and cultural evolution.

The written word as emergent intelligence through practical necessity.


Part of the Forge Theory collection — demonstrating how complex systems emerge from simple rules.

About

Behavioural scripting engine for semantic systems

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages