Shapes moving in a canvas in random motion