// Cloned by Vaidas Buzas on 15 Nov 2022 from World "Continous Lines" by P5 Editor porting project // Please leave this clone trail here. function setup() { createCanvas(1680, 939); background(10); } function draw() { stroke(255); if (mouseIsPressed === true) { line(mouseX, mouseY, pmouseX, pmouseY); } } AB.socketStart(); AB.socketIn = function(n) // incoming data on socket, i.e. clicks of other player { if ( ! AB.runReady ) return; changeBox(n); };