After a long time of working on custom captcha, I made it and I used it to pass one of the subjects on studies. From the entire journey, I made a tutorial here, on Dev.to.
Captcha is made with TypeScript, React, PIXI and Node. CAPTCHA relies on a server-side mechanism for generating and verification challenge.
Here it is: