Graph Mapper Vector Length

Hey All,

I am working on a project where I am trying to modulate a path of a cylinder according to a graph mapper. The idea is that every second point on the curve should be moved in a certain amplitude according to mapped array of number,
After creating a vector to each point, I tried to multiply the vector length using the amplitude node, by connecting remapped numbers to the amplitude value. However, I cant make it work.

Can somone please help me understand what I am doing worng?

Cylinder_graph_mapper.gh (19.2 KB)

Thanks


Cylinder_graph_mapper_re.gh (20.1 KB)

1 Like

Thank you!