Is there a way to allow geometries to follow a light using grasshopper

Hi I have made a series of curved pipes that are supposed to resemble the stems of plants. I want these pipes to move based on the sun, just like stems do. Is there a way to create a light source and make the pipes move according to the light source, using grasshopper?

hi using the method explained by @AndersDeleuran here https://discourse.mcneel.com/t/create-linear-rectangular-lights-in-grasshopper/86291/9 you can actually do something like this.light follows curve.gh (11.4 KB)

i hope it helps!
ciao

1 Like