Add Simple Wind

Add Simple Wind is an automation script that integrates into the Object Properties tab to quickly set up basic wind movements for objects like trees and grass. It applies a Simple Deform modifier set to 'bend' and generates an empty at the object's origin. The tool then automatically applies rotational keyframes with linear extrapolation to the empty, sets a low bend angle, and parents the empty to the target mesh.

To ensure variation when applying the effect to multiple objects, the script randomizes the keyframe distance each time the operator is executed. This prevents identical, synchronized animations across different pieces of foliage in a scene.