4
$\begingroup$

Is there a way to tell geometry nodes to apply a different value to each instance? I have a file where I have a row of instanced rings. I want to apply a sine animation where each ring is slightly offset in the timing. I've included the file to the point as I understand what's going on.

enter image description here

Apologies in advance, I'm new to geometry nodes and math isn't my strong suit.

$\endgroup$
0

2 Answers 2

5
$\begingroup$

Of course you can do that, here is the node setup:

enter image description here

result:

enter image description here

the value has the same driver, as you had: #frame/12

$\endgroup$
2
  • 1
    $\begingroup$ Awesome! Thank you so much! I was originally using a position node instead of an index node (and obviously some of my workflow was in the wrong order). I will just have to keep on practicing and reading up on all the nodes. $\endgroup$
    – SpaceCadet
    Jun 15, 2022 at 23:40
  • 1
    $\begingroup$ glad i could help $\endgroup$
    – Chris
    Jun 16, 2022 at 7:27
4
$\begingroup$

The cool thing about this solution is that the circles/instances maintain their distance from each other.

Here's a more advanced design, where you don't just move the positions of the circles, but where a precise chaining of circles is created.

Animation

Each circle is strung together like a chain link, giving you a nice chain.

I achieve the animation here by changing the angle between the circles with a sine curve.

Both the radius (can also be a random radius) of the circles and the amplitude and the speed of the wave are made flexible in this example.

Node Tree

This answer is essentially based on an answer given earlier: https://blender.stackexchange.com/a/258788/145249.

The structure here is almost identical, up to also the generation of the angles, which runs off here evenly time-controlled.

$\endgroup$
2
  • 1
    $\begingroup$ Wow! Thank you for the write up! Geometry nodes are so useful and powerful, but getting the hang of the math is a little overwhelming. I really do appreciate the help! $\endgroup$
    – SpaceCadet
    Jun 15, 2022 at 23:43
  • 1
    $\begingroup$ I understand what you mean ;-) ...but take heart, it sometimes looks a little overwhelming at first glance, but with a little trial and error and reading through it several times, it gets easier and eventually you hardly notice it anymore. $\endgroup$
    – quellenform
    Jun 15, 2022 at 23:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .