{"id":1266,"date":"2009-10-21T21:20:48","date_gmt":"2009-10-22T02:20:48","guid":{"rendered":"http:\/\/gracefulspoon.com\/blog\/?p=1266"},"modified":"2011-02-26T12:08:28","modified_gmt":"2011-02-26T17:08:28","slug":"closest-point-on-a-curve","status":"publish","type":"post","link":"http:\/\/gracefulspoon.com\/blog\/2009\/10\/21\/closest-point-on-a-curve\/","title":{"rendered":"closest point on a curve"},"content":{"rendered":"

\"text01\"<\/a>
\n
\"text03a\"<\/a><\/p>\n

 <\/div>\n

The “Curve CP” node in Grasshopper allows a curve to act in a similar manner to a point attractor, but checks the distance for the closest points along the entire length of the curve as opposed to one single, solitary point. Here, the curves are generated from a text object. It basically becomes multiple attractor curves, something that could be used for super graphics or possible a glazing frit pattern. Things get a little hairy in the grasshopper definition (see below) when you start getting a lot of letters, so that needs to get resolved for this to work with an entire sentence, or anything longer than four letters. A script font that creates one continuous line would work perfect, but is something of a cop-out, so in the meantime I may have to consult the pros on the grasshopper forum<\/a>. <\/p>\n

 <\/div>\n


\n
\"text02\"<\/a>
\n
\"text04\"<\/a><\/p>\n

\"text03\"<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

  The “Curve CP” node in Grasshopper allows a curve to act in a similar manner to a point attractor, but checks the distance for the closest points along the entire length of the curve as opposed to one single, solitary point. Here, the curves are generated from a text object. It basically becomes multiple […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,14],"tags":[74,39,84,22],"_links":{"self":[{"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/posts\/1266"}],"collection":[{"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/comments?post=1266"}],"version-history":[{"count":6,"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/posts\/1266\/revisions"}],"predecessor-version":[{"id":3757,"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/posts\/1266\/revisions\/3757"}],"wp:attachment":[{"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/media?parent=1266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/categories?post=1266"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gracefulspoon.com\/blog\/wp-json\/wp\/v2\/tags?post=1266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}