{"id":211,"date":"2010-08-27T18:35:32","date_gmt":"2010-08-27T23:35:32","guid":{"rendered":"http:\/\/elegans.uky.edu\/blog\/?p=211"},"modified":"2010-08-27T18:35:32","modified_gmt":"2010-08-27T23:35:32","slug":"postscript-site","status":"publish","type":"post","link":"https:\/\/jimlund.org\/blog\/?p=211","title":{"rendered":"Postscript site"},"content":{"rendered":"<p>Here&#8217;s a <a href=\"http:\/\/www.suberic.net\/~dmm\/graphics\/lines\/lines.html\">site<\/a> with <a href=\"pics\/lines.ps.txt\">a good Postscript library<\/a> for drawing variable width lines.<\/p>\n<p>To add a rounded end I added an arc command after the bolt function:<br \/>\n<code>20 setlinewidth<br \/>\nnewpath 0 0 moveto<br \/>\n0 -50 200 -150 200 0 rcurveto<br \/>\ncurrentpoint<br \/>\nreversepath bolt<br \/>\n5 0 179 arc<br \/>\nfill<\/code><\/p>\n<p>I used two of these curves to draw a stylized pear.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a site with a good Postscript library for drawing variable width lines. To add a rounded end I added an arc command after the bolt function: 20 setlinewidth newpath 0 0 moveto 0 -50 200 -150 200 0 rcurveto currentpoint reversepath bolt 5 0 179 arc fill I used two of these curves to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,7,20],"tags":[],"class_list":["post-211","post","type-post","status-publish","format-standard","hentry","category-computers","category-hobbies","category-software"],"_links":{"self":[{"href":"https:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jimlund.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=211"}],"version-history":[{"count":0,"href":"https:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/211\/revisions"}],"wp:attachment":[{"href":"https:\/\/jimlund.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jimlund.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jimlund.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}