Very do-able. But for most of those effects you’re going to need a particle system of some kind. That is, some code that can keep track of the tiny bits of the effect.
Do you know how classes work? It’s MUCH easier to write these kind of effects if you do.
possible starting points
I’d like the idea of arcs (see arc() command) that fly apart.
But again, best when you use a class ArcMy or whatever
The Simulate section may have some examples of interest.
It certainly got me interested!