Derrick Williams was a rookie for the Timberwolves when he competed in the 2012 Slam-Dunk competition in Orlando, Fla. But he didn’t make the final round.

Williams would be glad to be chosen at Air Canada Centre and trot out Air Williams.

As his minutes steadily rise and he weaves what could be his career year in his first season with the Knicks, his dunking prowess has been on display — never more than Wednesday in Brooklyn. Williams scored a career-high-tying 31 points and pounded one through with a soaring right-handed jam.

The NBA will announce its slam-dunk participants later this month.

“I’ll do it again,’’ Williams told The Post. “It was fun. Thing is, I didn’t get to finish my last dunk. I didn’t get a chance to make it. If I get an opportunity to do it again. I’d definitely do it. I’m not pushing to go, but if they ask, I’m all for it.’’

The 2012 competition was won by Jeremy Evans, who beat out Paul George, Williams and Chase Budinger. Williams has become a dunking machine of late, averaging 8.7 points in 15 minutes a night, with his playing time growing significantly since mid-December. His per-36 minute scoring average is 20.1 points.

During the 2012 competition, Williams featured a tomahawk slam while jumping over a motorbike.

Carmelo Anthony finally surged past Detroit center Andre Drummond in the latest All-Star voting update for frontcourt players, capturing third place and — for now — a starting slot. Anthony, who has gained notice for his ball movement and assists, leads Drummond by 7,000 votes. Anthony has started seven straight years. Voting concludes Monday.

Rookie Kristaps Porzingis moved up from eighth place to seventh place in front-court voting. It would seem unlikely for coaches to vote him in, though he has gotten rave reviews.

Anthony, who missed Wednesday’s game, will attempt to return from his right-ankle sprain Saturday in Memphis. He told The Post on Wednesday the ankle was “very sore’’ and he “probably’’ will be ready for Saturday. Porzingis sorely missed Anthony’s presence. “Carmelo helps everybody so not having him out there makes a difference for every guy on our team,’’ Derek Fisher said.