Loading different webcams around the world via p5.dom. The live cams' source is http://www.insecam.org/. Due to number of cities and live cam limits, this sketch only contains live cams of Vancouver, Los Angeles, Denver, London, Rome, Seoul and Sydney. These cities were selected in order to check the brightness by different timezone.
Full screen: http://alpha.editor.p5js.org/full/SJF8nrRC-


  • Currently using opacity to turn on/off the live cams, but how can I remove them when the mouse location is not close to the cities?