The Number Jumbler

The Number Jumbler can always work out your chosen symbol. Can you work out how?

Problem

Take a look at the interactivity below.

Try it a few times.

Can you work out what's going on?

Can you explain how the machine 'guesses' your picture correctly?