Computer model of the quantum foam

What is the quantum foam?

It is supposed that the quantum foam is present inside of singularity of black holes. Quote from the book Clifford A. Pickover - "Black Holes":
"In the space of the foam does not have a specific structure. There are only the probability of any shape or curvature. (...) We say that the singularity is made of foam or probabilistic quantum foam, because inside it is possible any structure of space. Quantum Gravity governs the probability of occurrence in the foam of various structures.".

More about creating a simulation based on cellular automata and codes ready to implement can be found in the mentioned book. Example simulation of the quantum foam:

Symulacja piany kwantowej