Strobe lights flash across a near-empty dance floor, as a DJ live-streams thumping electronic music from a Singapore nightclub to revelers confined to their homes due to the coronavirus pandemic.

The outbreak sweeping the globe has shuttered once lively nightspots from London to New York, but innovative DJs have started putting their performances online so clubbers don’t miss out.

The trend is another example of how the virus, which has left some 3.6 billion people stuck at home under lockdowns, is upending daily life in ways unthinkable until recently as governments impose social-distancing curbs to stem its spread.

After Singapore ordered the closure of many entertainment venues last week following a steady rise in infections, popular nightclub “Zouk” threw a “cloud-clubbing” party, streaming live performances by six DJs via an app.

It took place on a Friday night when the club is often packed with hundreds of partygoers — but only a handful of people were allowed to attend, most of them staff members.