Here's an online demo This project made with Nodejs, Socket.io, Express and MongoDB as database.
For database structure, I made every pixel an database object as the sample below
{
"color": "FFFFFF",
"x": 0,
"y": 0
}
And type your MONGOURI
to the .env
file.
Run npm run start
on your terminal and type http://localhost:3000
on your browser. Here's a demo of final: