Convert particle animation from CSS or HTML or JS to lua

How would I do this using a frame?