public TesteFisica() {
        setDoubleBuffered(true);
        vertices.add(new Point(pos.x - 30, pos.y - 100));
        vertices.add(new Point(pos.x - 120, pos.y + 100));
        vertices.add(new Point(pos.x + 75, pos.y + 300));
        vertices.add(new Point(pos.x + 150, pos.y + 100));
        vertices.add(new Point(pos.x + 10, pos.y - 100));

        for (int i = 0; i < 4; i++) {
            forma.addPoint(vertices.get(i).x, vertices.get(i).y);
        }
        pontos.add(new Point(pos.x, pos.y));

        for (int i = 0; i < 10000; i++) {
            pontos.add(new Point((int) (Math.random() * 1280), (int) (Math.random() * 720)));
        }

    }