{"id":854,"date":"2016-07-13T13:24:14","date_gmt":"2016-07-13T13:24:14","guid":{"rendered":"http:\/\/ninecrows.com\/career\/?p=854"},"modified":"2016-08-15T16:15:03","modified_gmt":"2016-08-15T16:15:03","slug":"html5-canvas-api-looks-very-much-like-postscript","status":"publish","type":"post","link":"https:\/\/ninecrows.com\/career\/2016\/07\/13\/html5-canvas-api-looks-very-much-like-postscript\/","title":{"rendered":"HTML5 Canvas API looks very much like PostScript"},"content":{"rendered":"<p>I&#8217;ve been reading through <a href=\"https:\/\/www.amazon.com\/HTML5-Missing-Manual-Matthew-MacDonald\/dp\/1449363261\/ref=sr_1_1?ie=UTF8&amp;qid=1468415773&amp;sr=8-1&amp;keywords=html5+the+missing+manual\">HTML5: The Missing Manual, Second Edition<\/a> in order to get my HTML up to date (I am very familiar with 4.01 but haven&#8217;t done anything that needed the newer stuff till now). Having reached the section on <code>canvas<\/code> and being interested in pictures and games related stuff, I was interested to find that the API looks pretty much one to one a mirror of the postscript level 2 rendering engine (without the forth heritage and stack machine framing). This goes right down to the endcap styles on lines and join types for figures.<!--more--><\/p>\n<p>I&#8217;m guessing that they found a model that worked and that people were familiar with and stuck to it.<\/p>\n<p>I&#8217;ll have to continue my reading for a bit before I&#8217;m ready to try coding to this stuff (and I&#8217; have quite a bit of detail work I want to finish on this site before then as well). Looks interesting and capable enough to do some things. I&#8217;m expecting to wander over to WebGL at some point (I&#8217;ve also got an OpenGL ES book coming soon) as that may present more opportunities to render attractive and functional interfaces in a browser.<\/p>\n<p>After HTML5 I&#8217;ll hop over through CSS3 and the current state of JavaScript and JQuery (again things I&#8217;ve used, but some time ago and for rather specific purposes) to see where things have gotten to since last time I looked closely at them.<\/p>\n<p>I&#8217;ve also got to go back into the series of arrangements needed make RESTful interfaces with PHP on apache in order to tie everything together, but one step at a time&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been reading through HTML5: The Missing Manual, Second Edition in order to get my HTML up to date (I am very familiar with 4.01 but haven&#8217;t done anything that needed the newer stuff till now). Having reached the section on canvas and being interested in pictures and games related stuff, I was interested to &hellip; <a href=\"https:\/\/ninecrows.com\/career\/2016\/07\/13\/html5-canvas-api-looks-very-much-like-postscript\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">HTML5 Canvas API looks very much like PostScript<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[7,10],"tags":[],"class_list":["post-854","post","type-post","status-publish","format-standard","hentry","category-topics","category-web-development"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7F2Qc-dM","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts\/854"}],"collection":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/comments?post=854"}],"version-history":[{"count":5,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts\/854\/revisions"}],"predecessor-version":[{"id":862,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts\/854\/revisions\/862"}],"wp:attachment":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/media?parent=854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/categories?post=854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/tags?post=854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}