{"id":9478,"date":"2014-09-04T13:58:50","date_gmt":"2014-09-04T17:58:50","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=9478"},"modified":"2014-12-08T10:47:05","modified_gmt":"2014-12-08T15:47:05","slug":"plotdevice-0-9-4","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/09\/04\/plotdevice-0-9-4\/","title":{"rendered":"PlotDevice 0.9.4"},"content":{"rendered":"<p><a href=\"http:\/\/plotdevice.io\">PlotDevice<\/a>:<\/p>\r\n<blockquote cite=\"http:\/\/plotdevice.io\">\r\n<p>PlotDevice is a Macintosh application that lets you write Python scripts to generate 2D graphics using simple drawing commands. Under the hood, your code drives the system&rsquo;s <a href=\"http:\/\/en.wikipedia.org\/wiki\/Quartz_2D\">Quartz<\/a> imaging engine, giving your scripts the same graphical power as a full-fledged Cocoa app.<\/p>\r\n<p>Your code can combine basic geometric <a href=\"http:\/\/plotdevice.io\/tut\/Primitives\">shapes<\/a>, <a href=\"http:\/\/plotdevice.io\/ref\/Typography#text()\">typography<\/a>, freeform <a href=\"http:\/\/plotdevice.io\/tut\/Bezier_Paths\">B&eacute;zier<\/a> curves, and a panoply of <a href=\"http:\/\/plotdevice.io\/ref\/Primitives.html#image()\">image<\/a> formats. This omnivorousness makes PlotDevice ideal for both workaday tasks like image-processing as well as more exotic uses ranging from procedural texture generation to data visualization.<\/p><\/blockquote>\r\n<p>Like <a href=\"http:\/\/nodebox.net\/code\/index.php\/Home\">NodeBox<\/a>, which it&rsquo;s based on, it&rsquo;s <a href=\"https:\/\/github.com\/plotdevice\/\">open-source<\/a>. It sounds similar to <a href=\"http:\/\/mjtsai.com\/blog\/2013\/10\/10\/schwartz-0-5\/\">Schwartz<\/a>, another app for driving Quartz 2D from Python. But whereas Schwartz is like a Python IDE for the Quartz API, PlotDevice has its own <a href=\"http:\/\/plotdevice.io\/manual#ref\">Pythonic drawing API<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>PlotDevice: PlotDevice is a Macintosh application that lets you write Python scripts to generate 2D graphics using simple drawing commands. Under the hood, your code drives the system&rsquo;s Quartz imaging engine, giving your scripts the same graphical power as a full-fledged Cocoa app. Your code can combine basic geometric shapes, typography, freeform B&eacute;zier curves, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[619,30,32,74,71,635,232,178],"class_list":["post-9478","post","type-post","status-publish","format-standard","hentry","category-technology","tag-graphics","tag-mac","tag-macapp","tag-opensource","tag-programming","tag-pyobjc","tag-python","tag-quartz"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=9478"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9478\/revisions"}],"predecessor-version":[{"id":10254,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9478\/revisions\/10254"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=9478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=9478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=9478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}