Deron Williams has said several times this season that he just wants to get back to having fun again on the basketball court.

It’s hard to believe he’s ever had more fun with the Nets than he is right now.

Williams continued his dramatic second-half resurgence last night in Brooklyn, putting together a brilliant 21-point, 13-assist performance to lead the Nets past the Hornets, 108-98, in front of a sellout crowd of 17,732 inside Barclays Center.

“He’s in a good place right now,” Nets interim coach P.J. Carlesimo said. “Physically, emotionally … he’s managing the game very, very well.”

The win gave the Nets (38-27) their fourth victory in five games, and moved them to their high-water mark of 11 games over .500 for the third time this season. The Nets bounced back from Monday’s disappointing loss in Philadelphia and moved within two games of the idle Knicks for first place in the Atlantic Division with a four day break before they take the court again Sunday at home against the Hawks.

“We kind of gave that game away [in Philadelphia],” said Gerald Wallace, who finished with 13 points, cracking double-figures for the first time in 12 games. “So this was a must-win for us.”