Run number 0.00 to 1.00 and run back 1.00 to 0.00

Hi everyone I need help. Do guys know how to script or coding grasshopper to run the number 0.00 to 1.00 and when it run to 1.00 it will run back to 0.00 and repeat? I try to use loop start and counter so I no idea how to make it. Thx

loop.gh (10.8 KB)

1 Like

If you’re looking for a dynamic/live solution, this might do it:

210219_UpAndDownCounter_GHPython_00.gh (5.2 KB)

2 Likes


range_repeat_2021Feb18a.gh (7.7 KB)

1 Like

thx guy

thx guy!!