NEW YORK — The New York Knicks’ playoff picture is still a bit pixilated despite their holding the No. 3 seed for most of the calendar year and having only two games remaining in the regular season.

The Knicks took down the Boston Celtics on Thursday night, 112-106, and grabbed their second straight win against an opponent with an above-.500 record after going winless in their previous five attempts. It also secured the tiebreaker against the No. 2-seeded Celtics and kept the door open to moving up a spot in the standings before the season’s end.

With that said, it’s not yet written in stone that the Knicks can’t grab the No. 2 seed from their rival, but the odds aren’t in their favor. If New York wins its last two games — against Toronto and Charlotte — and Boston loses its last two games, the Knicks would go into the postseason as the No. 2 seed. The Celtics, however, end the regular season against the lowly New Orleans Pelicans and Orlando Magic, making it a tough hill for New York to climb, especially since it has no control over the matter.

The Knicks will likely finish the regular season as either the No. 3 or No. 4 seed, with the former route most realistic. One win by New York or one loss by the Cleveland Cavaliers, who finish the regular season against the Atlanta Hawks and Washington Wizards, and the Knicks will be the No. 3 seed. Yet, if the Cavaliers win their final two games and New York, which is taking on two teams still with something to play for, loses its last two games, the Knicks would drop to No. 4.

The difference in seeding doesn’t matter as much in the first round. New York will either have home-court advantage and take on one of the Hawks, Raptors, Magic or Hornets. The difference will come in the second round. If the Knicks stay at the No. 3 seed, it would set up a potential second-round matchup against the Celtics, and dropping to the No. 4 seed would position New York for a potential second-round meeting with the Detroit Pistons.

While many consider Detroit a young team with roster flaws — such as lacking another primary playmaker alongside Cade Cunningham and turbulent 3-point shooting — it has dominated the Knicks with its physicality and Cunningham’s star power during the regular season. Furthermore, the Pistons have been looking forward to facing New York in a win-or-go-home setting since losing a thrilling six-game series last year. There’s an extra edge there from the Detroit side that the Knicks haven’t replicated during the regular season. I’m not saying New York can’t beat the Pistons in a series. Not at all. I just think …

As it pertains to the Celtics, yes, the Knicks have yet to take on Boston at full strength this season — Jayson Tatum was absent in the first three meetings, and Jaylen Brown missed Thursday’s game. However, New York appears to match up well against the Celtics, whom the Knicks beat three times this season, because of its wing defenders and interior advantage. Also, the Knicks beat Boston in last year’s postseason and would surely carry that confidence into that matchup.

New York head coach Mike Brown said his team will “run through the finish line” — meaning it doesn’t intend to sit players — as long as it can move up in the standings or has the potential to fall. That’s the right approach. First, the Knicks have been searching for some semblance of consistency against good teams lately, and I’d be hesitant to ruin that just for seeding purposes. Also, the Basketball Gods are always watching — don’t try to manipulate games for a worse seeding even if you think it provides a better matchup.

Additionally, the Knicks should fight to win out not only to secure the No. 3 seed and, possibly, get another crack at Boston in the second round as opposed to the Pistons, but they should also try to take out the Hornets from possibly grabbing the No. 6 seed if it comes to that in the final game of the regular season. Charlotte has been one of the NBA’s best teams over the last few months and is in the Play-In picture only because of its rough start to the season. All the top teams, not just the Knicks, should hope that Charlotte is not the team it takes on to open the postseason.

When talking about “Wingstop,” the defensive nickname for the Knicks’ duo of OG Anunoby and Mikal Bridges, it might be time that Josh Hart gets lumped into the brotherhood.

Lately, the veteran forward has been asked by his head coach to defend bigger, ballhandling wings with the game on the line. Hart has risen to the occasion. He was physical and suffocating on Tatum in moments late in Thursday’s win. Earlier this week, Hart was guarding the Hawks’ Jalen Johnson and forced a few key turnovers. In that same game, he also had an isolation stop on the scorching-hot Nickeil Alexander-Walker that helped secure a win.

In early March, in a matchup against the Raptors, wing Brandon Ingram was having his way with the Knicks offensively for close to three quarters, and then Brown put Hart on him, and the 31-year-old slowed down Ingram en route to New York’s comeback win.

A big reason the Knicks have had such up-and-down defensive play this season is that the point-of-attack defense hasn’t consistently come with the physicality needed to maintain an elite defense. Hart, when called upon, has provided it, and it’s allowed the likes of Anunoby and Bridges to do what they do best as defensive players.

“For me, I’m just trying to use my physicality and make it tougher for those guys,” Hart told The Athletic after a 26-point performance against the Celtics. “When you’re able to do that, you can allow OG to guard the big and switch the pick-and-rolls, or you allow OG to roam and be that defensive playmaker that he is. I think that’s the thought process. I like the challenge. There’s some trust there.

“Hopefully, the numbers are in my favor. I hope they look good.”

When Hart can combine that level of defense with 3-point shooting, as he did against Boston by hitting five 3-pointers in the second half, he’s a no-brainer choice to close games. Teams continue to sag off Hart in the half court to try to muck up New York’s offense. He’s made them pay more often than not this season by converting on over 41 percent of his 3s.

Hart’s intangibles are always going to be there, whether his shot is falling or not. The Knicks are legit title contenders, though, when he defends with the force that he’s shown against bigger wings and knocks down his jumper.