This was for my assignment for Uni. As I am a beginner not 100% how it will work on other systems but I know it won't work if your mobile need to be on a desktop and Chrome tends to work best with this. Here's the silly little thing https://www.openprocessing.org/sketch/536951