Larry Massey, 20, Thomas Johnson and Corwyn Duvernay, both 19, are accused of shooting paintballs from their cars at five different locations around the city on Saturday night, prosecutors said.

One of the victims, a 28-year-old man, was shot in the eye on Geneva Avenue near the Balboa Park BART station, police said.

The suspects were eventually arrested nearby along with a fourth suspect, police said.

Massey, Johnson and Duvernay appeared in court Wednesday afternoon to each face charges of mayhem and various other offenses.

Assistant District Attorney Lili Nguyen said the shooting spree “was extremely egregious and showed complete disregard for human life and human safety.”

She said the suspects recorded the spree on an iPad and were heard laughing while shooting at the victims.

The prosecutor asked for bail to be set at $1 million or higher for all three defendants, noting that Massey was out on bail for a separate robbery case while the other two have prior criminal histories.

“How much does public safety have to suffer before a stand is taken?” she said.