how do i translate individual points with a list of offsets? (list matching?)

gustaf's Avatar

gustaf

04 Dec, 2013 07:16 PM

Hi
still trying to get the hang of list matching there is one thing i am struggling with.

just been looking at the list matching section in this document http://nodebox.net/node/documentation/concepts/concepts.html

how can i translate each point in a shape by the position (relative to origo) of each point (looped, if necessary) in another shape?

for example, say i want to give a freehand draw a curly "telephone cable" effect. I am thinking that I should be able to pipe my freehand line into the translate node, then the points of an ellipse into the other input and boom i get a curly line, but instead i just get the freehand line copied and repositioned over each point of the circle.

been playing around with changing the inputs/outputs of my nodes between list and values but doesnt halp. Also cant find any other node that could be better suited?

whats the secret formula? O.o

  1. 1 Posted by thoolb on 04 Dec, 2013 11:46 PM

    thoolb's Avatar

    (i don't know the answer but like to learn, too. so are my thoughts ...

    1. did i get the task correct?
      imagine the desired result as a (freehand drawn) line with a stroke circling around its points/center on its way continously. As if walking from A to B and turning around myself on each step while walking.

    2. between two (?) points the stroke shall rotate 360 (?) degrees. means: go from point 1 to point 2 while rotating (x?) 360 ° > go to point 3 ... rotating > goto 4 ... etc.

    @ gustaf, can you post an URL directly to the mentioned 'list matching section' ? Can you post your ndbx file?
    Attached: mine with 4 thoughts/ideas – but unsolved

    @ Frederik, where is the node's color system described? First I thought black goes to black only, gray just to gray, lite blue to lite blue, until yellow appeared and none of the learned did seem to work any more.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Feb, 2024 07:39 PM
23 Feb, 2024 10:02 AM
22 Feb, 2024 05:51 AM
21 Feb, 2024 05:27 PM
21 Feb, 2024 04:49 PM

 

16 Feb, 2024 05:24 PM
06 Feb, 2024 04:45 AM
19 Jan, 2024 09:50 AM
13 Jan, 2024 03:47 AM
05 Jan, 2024 05:10 PM
05 Jan, 2024 04:54 PM