# Standing wave animation in blender

**URL:** <https://blenderartists.org/t/standing-wave-animation-in-blender/558698>\
**Category:** Technical Support\
**Created:** [December 5, 2012, 2:48am UTC](https://blenderartists.org/t/standing-wave-animation-in-blender/558698 "2012-12-05T02:48:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepti](https://blenderartists.org/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@deepti](https://blenderartists.org/u/deepti)\
**Post date:** [December 5, 2012, 2:48am UTC](https://blenderartists.org/t/standing-wave-animation-in-blender/558698/1 "2012-12-05T02:48:24Z")

</div>

Hi, i want to do animation on standing waves. The formula is

y = 2 \* Amplitude \* sin(k_x) \* cos(w_t)

Please find the link [http://en.wikipedia.org/wiki/File:Standing\_wave.gif](http://en.wikipedia.org/wiki/File:Standing_wave.gif) for reference

---

<div class="post-metadata">

**Author:** ![anon19162634](https://blenderartists.org/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@anon19162634](https://blenderartists.org/u/anon19162634)\
**Post date:** [December 5, 2012, 2:43pm UTC](https://blenderartists.org/t/standing-wave-animation-in-blender/558698/2 "2012-12-05T14:43:47Z")

</div>

Do you mean a fluid sim with waves? Not sure what you are trying to do.

The reference wave is just an animated curve(?)

---

<div class="post-metadata">

**Author:** ![BYLEX](https://blenderartists.org/user_avatar/blenderartists.org/bylex/32/974473_2.png) [@BYLEX](https://blenderartists.org/u/BYLEX)\
**Post date:** [September 16, 2022, 7:47am UTC](https://blenderartists.org/t/standing-wave-animation-in-blender/558698/3 "2022-09-16T07:47:14Z")

</div>

The last reply to this topic was **almost 10 years ago** , but i hope my answer helps someone.  
I came up with an animation solution using Python scripts. A short script was written by trial and error.

![blender_MITuFCwNYw](https://blenderartists.org/uploads/default/original/4X/d/6/2/d629f4cce001e2f0e21a3da402a8764ef783ab85.gif)

[Python script (Google Disk)](https://drive.google.com/file/d/1cPFKGI4vH3FZe56xwd8j0YXZPbgMagHn/view?usp=sharing)

1. Initially, you need to create an object in blender so that it has enough vertices:

2. Then you need to go to the “Scripting” section, paste in my python script, and correct line 29 with the name of your object:

3. After that you run the script and in the animation section the script will create animation keys for your object and your object will change:

4. Now you can start the animation and render. For a more accurate result, I advise you to experiment with the variables mult, Amp, len\_wave and T

**Attention**  
Deleting animation keys will not help you return the object to its initial state. To return an object to its initial state, you need to execute “Undo” or Crtl+Z.

Sorry for the inaccurate description, the text was translated via Google Translate from Russian to English. Hope I helped you. Good luck.

---

<div class="post-metadata">

**Author:** ![SterlingRoth](https://blenderartists.org/user_avatar/blenderartists.org/sterlingroth/32/3107_2.png) [@SterlingRoth](https://blenderartists.org/u/SterlingRoth)\
**Post date:** [September 16, 2022, 8:02am UTC](https://blenderartists.org/t/standing-wave-animation-in-blender/558698/4 "2022-09-16T08:02:17Z")

</div>

This could also be easily done in geometry nodes, nowadays:

 ![image](https://blenderartists.org/uploads/default/original/4X/1/7/4/174d7e9d1ab69aec2058fadfaea6dc9c44ef6499.jpeg)
