A game based on matlab to pack as many ellipses as possible in given rectangle Please run main.m firstly, then you can run SelfSelect.m to select the postion of middle point of the new ellipse. If you want to stop the problem, you have to press Ctrl+C : )