pendulum = new Pendulum({
    numBalls    : {{numBalls}},
    ballHeight  : {{ballHeight}},
    ballRadius  : {{ballRadius}},
    color0      : '{{color0}}',
    color1      : '{{color1}}',
    fadeout     : {{fadeout}}
});
document.querySelector('body').appendChild(pendulum.canvas);