Visualising Long-term Memories in Layla
- Layla
- 11 hours ago
- 1 min read
A while ago, Layla introduced temporal memories: memories that evolve in time. This update brings a whole new way to visualise your character's memories!
Your memories are now laid out in a 3D space; past memories are "deeper" into the z-axis:

You can use the "slider" at the bottom to focus on different clusters.
You will notice that memories naturally form "clusters" in time. These are memories that occur within a relatively short timeframe. Each cluster has it's own central node(s), with auxiliary memories branching out around them. These clusters are segmented via a time-dilated algorithm: recent memories are finely-segregated, while older memories are more clustered together. This mimics how human memories work; you often remember recent events clearly, while the longer the events are in the past, the more they combine into one big cluster.

Important nodes in each cluster are linked together in time. These are usually "common entities" between temporal clusters. Intuitively, this should be important characters, topics, etc. The graph reflects this. The "anchors" in each cluster are usually the two main participants of the conversation (you and your character). These nodes glow brighter in the memory network, and you can see faint "temporal links" between them. These temporal links are annotated by the time elapsed between each cluster, which is visible in the memory graph.
There are a lot more ways in which this marshalled data and relationships can be used during the recall process, and this is something I will continually improve on over time!