DEV Community

Cover image for Become the protagonist of the movie
Miquel Camps
Miquel Camps

Posted on

Become the protagonist of the movie

TL;DR

Note: I recommend you to use chrome mobile, because you can take a selfie directly and you don't need to choose an image from your photo gallery.

Long story

The last day I got an idea to get free advertising and I want to share it with you.

Imagine you are the company Marvel and do you want to promote the last movie Venom.

The idea is simple, just put a QR code in your movie ticket like this:

movie ticket

When someone scan this QR code will see a website where they can take a selfie and become the protagonist of the movie.

Web app

Then they can download the image and share it on social networks like instagram stories and this is free advertising for the movie.

I wrote a simple web app to do this using only javascript and canvas, the image is generated on browser, no server is required to upload the image.

Hope you like it

Top comments (0)