Is it possible to convert this animation to ThreeJs from WebGL

How can we convert this WebGL animation to Three.js?

Can we also replace the texture of leaves with custom image?