Grasshopper

algorithmic modeling for Rhino

Hi everybody,

I would like to create an animation in grasshopper using a single slider.

In Red is the effect I would like to get using a single slider.

For the moment I only manged to do it using the component "Serie"(second picture). But once, the slider arrives at 39, all the items become visible.

I would like to tell him to restart the entire serie when it arrives at its end and to someting like 0-39-0-39...


Would it be possible to get a slider that creates and "endless effect" (in the serie) as it occurs with the item list component ?

thank you !

Views: 268

Replies to This Discussion

You can use Evalute with this expression if((N\L)%2=1, L - N%L, N%L). Where N is curent index and L is maximum index.

Here is a test:

And here's example with "red effect".

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service