The quality of an answer is related to the quality of the question. You asked for help creating a butterfly that moves based on your hand or mouse position, and you got a butterfly that moves based on your mouse's position.
Now you want a "flying effect". What sort of an effect? Do you want an animated butterfly? Do you want a 2D or 3D one? Should it's wings flap (is that all you want?)? Did you just want the shadow of one? Are you trying to copy what you linked to - birds appearing when the cage is touched - but with butterflies? We have no idea what it is you're trying to accomplish!
It's impossible to help you because you've simply not given enough detail about what it is that you want... Additionally, you haven't posted any code of your own to help show us what you're trying to accomplish!
If you seriously want more help you should start by trying to write a Processing sketch that does what you want on your own. It's hard to give you advice about programming it because - as you've not posted any code - I have no idea what level of programming you can manage!
If you're just starting out, I would suggest that you start by learning how setup(), size(), draw(), and background() work. Then fill(), stroke(), rect(). Then about the variables: ints, floats, booleans. Then translate(), pushMatrix(), image(). Then learn about arrays. Then about classes and ArrayList. And if you want to do this in 3D, there's a whole bunch of other stuff to know...
SHORT VERSION: TRY IT YOURSELF FIRST. POST YOUR CODE.