Adding wind to bouncing ball example

What, specifically, do you want the wind to do?

Do you want it to blow from where the mouse pointer is? Do you want it to blow up “at random”? Does it gust and die down, or does it blow as long as the mouse is depressed? Describe it more.

You might also be interested a recent related discussion in p5.js: Bouncing ball hang up (The Nature of Code)