based on Complexity Explorable:
" Yo, Kohonen! -
Dynamics of a simple self-organizing map
"