private Vector2f findStarPosition(int size) {
        Vector2f result = new Vector2f(random.nextInt(725 - 5) + 5, random.nextInt(300 - 5) + 5);
        while (starPositionOccupied(result, size)) {
            result.set(random.nextInt(725 - 5) + 5, random.nextInt(300 - 5) + 5);
        }
        return result;
    }