Menu

Transparent mp4 colorized in code

Have you ever wondered how to make an mp4 file with a transparent background and paint it through the blend mode? Because if you have, this technique will be useful to you. This is a kind of emulation of WebGL spheres.

This is a simple but neat technique to remove the background from a black and white video and color it using the mix-blend-mode property using pure CSS. This technique allows you to emulate various looped and dynamic spheres and shapes without using WebGL with a pre-prepared video.

The archive contains a simple demo project with some comments in the code. Instructions on how to deploy and run the application are in the README.md file.

Dev Source
The complete source code is available for free on our GitHub page.

The source code is available on GitHub

Follow Us

Social Media and contacts

Main office
901 N Pitt Street
Alexandria VA, 22314
Second office
Na Perstyne
342/1, 11000 Prague