HomeCognitive ScienceTheory of Mind: The False-Belief Task

Theory of Mind: The False-Belief Task (2D)

Interactive 2D Sally-Anne false-belief task: watch two agents track (or fail to track) the true location of a hidden marble, extend to second-order theory-of-mind reasoning, and see a developmental age curve of pass rates.

Cognitive Science2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-social-cognition ↗ Open standalone

A 2D companion to the 3D Sally-Anne false-belief task, built around the same real belief-tracking algorithm: each agent's model of the world only updates when that agent actually witnesses the change, so an agent who stepped out of the room keeps an outdated — false — belief even after reality moves on. Step through the canonical scenario on a top-down stage, extend it to a second-order question (what one agent thinks another agent believes), introduce a distraction that breaks that second-order tracking, and sample a simulated child subject's answer from a developmental age curve modeled on the meta-analytic false-belief literature.

⚙ Under the hood

An interactive 3D Sally-Anne false-belief task: watch two agents track (or fail to track) where a hidden marble really is, extend the scenario to a second-order theory-of-mind question, and sample a simulated child subject's answer from a developmental age curve.

theory of mindfalse beliefsocial cognitiondevelopmental psychologycognitive neuroscience

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)