What do you call

Maybe worth looking at finished projects in the Exhibition section that do what you want and have the source code available then you can check out how they did it and copy/adapt to your project.