A simple animation about a machine written in JavaScript