private void drawMasses() {
        g2.setStroke(defaultStroke);
        int circleRadius = MASS_RADIUS * 2;

        for (Mass mass : networkGraph.getMasses()) {
            if (mass.getType() == ARM_SEGMENT) {
                continue;
            }

            int x = (int) (xScale * mass.getX()) - MASS_RADIUS;
            int y = (int) (yScale * mass.getY() * MASS_AND_SPRING_Y_SCALING) - MASS_RADIUS;

            g2.setColor(mass.getType().getColor());
            g2.fillOval(x, y, circleRadius, circleRadius);
            g2.setColor(BORDER_COLOR);
            g2.drawOval(x, y, circleRadius, circleRadius);
        }
    }