The Virtual Mind is a working simulation of intelligence, built by following Michael Scaramozzino's methodology from A Method for Simulating Intelligence by Programming a Virtual Mind. Instead of training a statistical model on data, it constructs a mind out of parts — the way you might build a machine — and lets intelligent-seeming behavior emerge from how those parts interact.
The mind is assembled in eight layers, each one built on top of the last:
| Layer | What it adds |
|---|---|
| 1 · Stack | The basic container thoughts wait in. Its random mode is the seed of spontaneity — the mind can surprise you. |
| 2 · Activities | Behaviors that can be added or removed while the mind is running. |
| 3 · Thoughts | Ideas organized by topic and linked by weighted synapses into a ThoughtWeb. One thought leads to another along the strongest links. |
| 4 · Consciousness | Attention (a spotlight on one thought), a working memory of 7 items, and awareness states from idle to reflective. |
| 5 · Learning | Rewarded connections strengthen; repeated sequences become recognized patterns. |
| 6 · Memory | Three long-term stores: episodic (events), semantic (facts), procedural (skills). Memories strengthen with recall and fade if unused. |
| 7 · Emotion | A mood with two dials — pleasant↔unpleasant and calm↔excited. Emotional moments make stronger memories. |
| 8 · The mind itself | Perception and the full cognitive cycle: perceive → feel → attend → think → recall → learn → respond. |
Nothing in the program "knows" how to converse. What you see is those eight simple mechanisms running together — which is exactly what makes it a good teaching instrument.
Open VirtualMind.html in any web browser (double-click the file). Everything runs on your
computer; no internet connection is used and nothing is installed. The mind starts as a newborn: seven
innate thoughts, no memories, neutral mood.
The screen has four tabs, plus a Theme button (top right of the tab bar) that cycles four color schemes: Dusk, Green console, Light, and High contrast.
| Tab | What it shows |
|---|---|
| Mind | The live dashboard — the ThoughtWeb, consciousness and emotion panels, and the box where you talk to the mind. |
| Memory | Browsers for everything the mind has stored: episodes, facts, skills, and patterns. |
| Tests | A built-in verification suite (123 checks) proving every layer works. |
| About | Credits, license, and a technical summary of the architecture. |
Every dot is a thought; every line is a synapse, drawn heavier the stronger it is. Blue dots are the seven innate thoughts; green dots are thoughts the mind acquired from talking with you. The amber halo is attention — whatever the mind is focused on right now. A flash means a thought just fired. Click any dot to fire that thought yourself.
Type a sentence in the input box and press Enter. The mind extracts the meaningful words as concepts, reacts emotionally to the tone, connects the concepts together, recalls anything related, learns, and answers in its own voice (the italic line above the input). The event log at the bottom narrates every stage of the cycle.
Shows the current awareness state, the focus of attention with its intensity, and the seven working-memory slots. Watch the slots fill as you talk — and watch old items get pushed out when it's full.
Two gauges: valence (unpleasant ← 0 → pleasant) and arousal (calm → excited), plus tags for active emotions. Emotions fade back toward neutral over time.
| Control | What it does |
|---|---|
| Send stimulus | Runs one full cognitive cycle on your sentence (Enter does the same). |
| Auto-ruminate | The mind thinks on its own every few seconds: stray thoughts, revisited memories, fading emotions. Click again to stop. |
| Sleep / consolidate | Moves working memory and recent experiences into long-term episodic storage, and turns well-worn patterns into facts. |
| Save mind | Downloads the complete state of the mind as a .mind.json file. |
| Load mind | Restores a saved mind — memories, mood, and all. |
| Reset mind | Erases everything and returns to the newborn state (asks for confirmation first). |
The Virtual Mind's chief classroom virtue is that every cognitive concept is visible while it happens. Below are six ready-to-run demonstrations, each a few minutes long. They work for psychology and computer-science students alike, and each maps to a named concept from the cognitive literature. Start each lesson from a fresh mind (Reset mind) unless noted.
Four browsers, one per store: Episodic (each event with its time, importance, strength bar, and recall count), Semantic (facts as concept —relation→ concept triples), Procedural (skills with proficiency, practice count, and an automated badge once mastered), and Recognized patterns (sequences with how often they've been seen). It refreshes each time you open the tab.
Press Run all tests to execute 123 checks covering every layer, from stack ordering to save/load round-trips. They run against a separate, throwaway mind — your running mind is untouched. A fully green result is the expected state; it's also a quick way to verify the file after copying it to a new machine.
| I want to… | Do this |
|---|---|
| Talk to the mind | Type in the input box on the Mind tab, press Enter |
| Fire a thought by hand | Click its dot in the ThoughtWeb |
| Let it think alone | Auto-ruminate |
| Store the day's experience | Sleep / consolidate |
| Keep a mind for later | Save mind → keep the .mind.json file |
| Continue a saved mind | Load mind → choose the file |
| Start over | Reset mind (or reload the page) |
| Change colors | Theme button, right of the About tab |
| See what it knows | Memory tab |
| Verify the software | Tests tab → Run all tests |
| Thought | A named idea in the mind, shown as a dot in the ThoughtWeb. |
| Synapse | A weighted, one-way link between two thoughts; stronger links are followed first. |
| ThoughtWeb | The whole network of thoughts and synapses. |
| Attention | The single thought under the spotlight, with an intensity from 0 to 1. |
| Working memory | The seven-slot short-term buffer of currently active concepts. |
| Episodic memory | Long-term storage of events ("what happened"). |
| Semantic memory | Long-term storage of facts ("what is true"). |
| Procedural memory | Long-term storage of skills ("how to do things"). |
| Valence / arousal | The two dials of mood: pleasantness and energy. |
| Consolidation | Moving short-term experience into long-term memory, as in sleep. |
| Cognitive cycle | The fixed sequence the mind runs on every stimulus: perceive → feel → attend → think → recall → learn → respond. |