Photopea.com seems to have matched photoshop UI and runs in the browser. It's not open source but from what I understand it's an one man project which means it's possible for a small dev team to create t an open source photoshop alternative from scratch.