How to create 2d ray animation and light up screen?

I want to achieve effect like this
image
And at the end of the animation, the screen should light up for a second

Any ideas how to create smthing like this?