Miami’s first home preseason game of the season had a somber beginning, with the Heat paying tribute to the late Marlins righthander Jose Fernandez by wearing his initials and jersey No. 16 on the back of their warmup shirts — then by offering a moment of silence before tip-off against the Nets.

The Nets’ players and coaches draped their arms over each other’s shoulders while the Heat players and coaches all linked arms for the playing of the national anthem in a show of unity before the Heat defeated the Nets, 121-100, Tuesday night.

advertisement | advertise on newsday

The Nets were down by 12 in the first quarter, then led by 11 in the second quarter and trailed again by 17 after three quarters. Jeremy Lin led them with 16 points. Bojan Bogdanovic scored 13, while Luis Scola and Justin Hamilton each scored 12.

Hassan Whiteside had 21 points and 14 rebounds in 23 minutes for the Heat. Whiteside is averaging 19.3 points and 13 rebounds in three preseason games, shooting 71 percent and playing about 24 minutes in each. Goran Dragic added 17 points and 11 assists for Miami.

The Nets took 13 three-pointers in the first quarter alone and finished 14 of 33 from beyond the arc.