Place Image on Click (JavaScript+HTML)

Hey there

I was interested in implementing some javascript code according to this website.

Does someone have any idea how to achieve that? I assume using the webflow code embed element and then implement a .js-snippet. Where would I link the images and is there already some kind of code that achieves this function? It’s not the first time I’ve seen someone using this idea of placing images on an html canvas so there might be someone who knows :smile:
I would be very grateful if someone has some tips!

Best regards,

Here is my site Read-Only: LINK
(how to share your site Read-Only link)