Sine wave animation from curve

Hi all!

I am looking for a way to animate a curve as a sine wave that moves at a specific rate, for example 10Hz.

Is there a way to do this using geometry nodes?

Not what your asking, but maybe this will help as a stepping stone or spark some ideas.

1 Like

you can create a curve, flatten it, subdivide it, bevel it, hook each of its vertex to empties, and animate the empties

2 Likes

Bezier curves cannot be made to be exact sine waves: https://math.stackexchange.com/questions/116369/can-a-rational-bézier-curve-take-exactly-the-same-shape-as-a-part-of-the-sine-fu

Just so you know that, no matter what you do, there’s going to be some error.

1 Like

Hi @Kallin,

You might want to explore Sverchok addon which gives you tremendous control over Blender via nodes. It’s able to take advantage of allot of math constructs (plus many many other things too) which should be able to give you want you want. It’s not an easy addon to master but it might be worth investigating. The node I’m thinking of is the Sine Oscillator node. With some exploration it might be able to achieve what you want. See:

Node options looks like this:
image

Cheers, stay safe and happy blending!

Thanks so much! This is probably what I am looking for, since I will use Blender mainly to visualize music I am making in different tempos.

Thanks everyone for the help!

This sparked a number of new ideas for me. Thank you!

Hi Kallin,

You are welcome. Also, for audio you might want to explore Animation Nodes by Jacques Lucke as it has audio spectrum analyzer tools built in. This is another set of powerful node based tools for Blender. See Chris P’s YouTube playlist which touches upon this: AN Playlist by Chris P

Also, another tool you might consider is AudVis paid addon which could help also. Depends on what your end goal would be. I’d suggest exploring all of these and have fun with it.

1 Like