0
$\begingroup$

I need the circles to appear from the center with a gap equal to one circle and at the end gather towards each other

Here the circles came out from the center one by one with distance from each other

And then they reached the end and in turn began to lean against each other

$\endgroup$
1
  • $\begingroup$ And what did u try so far? $\endgroup$
    – Chris
    Sep 27, 2022 at 16:03

3 Answers 3

1
$\begingroup$

This version assumes you want to make your instances appear at one end of the curve, move along it at fixed intervals, and accumulate at the other end:

This GN group modifies the curve, and distributes Count instances along it, with a given Gap between them, at a given Offset. Animating the Offset will move the instances along the curve.

enter image description here

It samples the input curve at (reversed-instance-index * gap) + offset length, retrieving that position, at which to locate the instances. Left to itself, that would clump the instances at the endpoints of the curve, so two adjustments are made:

  • The sample-length is clamped for each instance at (curve-length - instance-index * instance-width)
  • If the offset sampled length is 0 or less, the instances are deleted.

enter image description here

$\endgroup$
1
  • $\begingroup$ Thanks a lot! Exactly what is needed! $\endgroup$
    – PUXIII
    Sep 29, 2022 at 11:14
2
$\begingroup$

It looks pretty straight-forward, divide the length of the curve by the number of circles:

If you need to adjust the circle size so the circles touch, just set the circle diameter to the obtained segment length (the node has radius input, which is half of a diameter so I divide by 2):

$\endgroup$
1
$\begingroup$

Geometry Nodes

Original Question Mistake with gif creation

Images above. Left side image to meet original question goals. Right side image with a random exploration of geometry nodes with a reversed last to first gif adventure.

enter image description here

Above image. Geometry modifier values. Like all geometry modifiers, changing the values in the modifiers can give various results. The results need not be limited to the original question. Limited value testing. Please inspect and modify to suit your tastes on your computer.

  • First two count values should be the same. Number of circular meshes to appear
  • Item 03. Frame. When the mesh should appear on curve. Items are more distant on curve to meet original question goals.
  • Item 04. Frame. When transition should appear. Items can be spaced closer after this frame as time increases, to meet original question goals.
  • Item 05. End Frame. When items are closest end of curve potentially, to meet original question goals.
  • Item 06-09. Curve Trim values. Begin and End values. Range of curve occupation. Value in the range [0.0,1.0]. Range 1 < Range 2 to meet original question goals.

Image above. Thumbnail in upper left is guide.

enter image description here

enter image description here

Image above. Nodes for group or function.

$\endgroup$
0

You must log in to answer this question.

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