Williams was hot to begin the game, putting in 14 of his points in the first quarter, and the Nets never looked back.
Brook Lopez helped out with 18 points for Brooklyn, which snapped a 10-game losing streak at Detroit.
Andray Blatche also reached double figures with 15 and Joe Johnson added 13 in the win.
Puzzle-maker slips 'Murdoch Is Evil' into Rupert Murdoch's Sunday Telegraph
Police: Sword-wielding man demanded free tacos