How to get depth of field effect on HTML5

Hello!I was working on a HTML5 project recently, and there was a requirement to use SceneCapture2D for depth of field effects, but now I don’t have a solution for showing depth of field effects in HTML5 projects, so I hope there is a way to do it.