Move simulation in grasshopper

Hi all.
I am looking for a way to create an effect simulation box moves along a predefined curve.
Do we have any example for this ? Thank you.

Provided the geometry and the path, the animation is simply moving the object to a certain frame of the curve. You can achieve this with very few components, like this:

ScreenRecording2026-08-22at09.49.46-ezgif.com-video-to-gif-converter

If you try to replicate it, remember to reparametrize the curve in input of the “perpendicular frame” component, in order for it to properly react to the “0 to 1 = beginning to end” mapping of the animation.

If you want to maintain alignment on the base plane, just connect a “XY” plane between the changing to the “A” input of orient and another between the bottom “perp. frame” and the “B” input

Shank_animation.gh (11.8 KB)

Thank your for your time,
Example, when I press true the box will move from start point to end point in 3 seconds. Only press 1 button.
Any ideas ?

if you right click the slider you have the “animate” option.
In frame count you put (frame_rate_of_your_choice * duration_in_seconds), set a destination folder, then click ok. For example for a 30fps video of 3s you’d set it at 30*3 = 90 frames.

wow so cool, many thank, but I just want preview not render picture. How can I do it ?
Thanks.

automove1.gh (7.8 KB)

C# code originally from @DanielPiker I believe. I use it all the time.

Hi

You want some thing like this?

Thank you for your time.

Here’s another way to simulate objects in Grasshopper using Trigger and Data Recorder.

Simple_animation.gh (9.8 KB)

So cool, Thank you.