I'm learning OpenGL programming with C/C++.

I want to create a 2D Thunder effect but i don't know how to start or a sample code that teach me how to modify it and customize it.

Thanks in advance.