{"id":12171,"date":"2015-09-05T05:18:05","date_gmt":"2015-09-05T05:18:05","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=12171"},"modified":"2018-06-29T02:58:20","modified_gmt":"2018-06-29T02:58:20","slug":"web-programming-the-canvas-tag","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/web-programming-the-canvas-tag\/","title":{"rendered":"Web programming:  the &lt;canvas&gt; tag"},"content":{"rendered":"<h1>The tutor tells about a recent discovery regarding web graphics.<\/h1>\n<p>With web programming, the technology is changing so quickly, it&#8217;s worth looking around once and awhile to see what&#8217;s new.  One place I like to check out is <a href=\"http:\/\/www.w3schools.com\/\">w3schools.com<\/a>; I&#8217;ve been going there over five years to get pointers about HTML, JavaScript, CSS, and other web techniques.<\/p>\n<p>Recently I saw there mention of the <a href=\"http:\/\/www.w3schools.com\/canvas\/default.asp\">canvas<\/a> element.  What interested me is that it talks about drawing graphics using JavaScript, within a &lt;canvas&gt; element.<\/p>\n<p>When I last looked into JavaScript graphics, it mainly involved using a library add-on to the JavaScript language.  Within the &lt;canvas&gt; element, however, it seems that the graphics commands are native.<\/p>\n<p>I thought I&#8217;d give the &lt;canvas&gt; element a try, so I produced this simple demo.  Apparently, ie users may need \u2265ie9 to view it.<\/p>\n<p style=\"text-align:center\"><a href=\"\/..\/demos\/canvasdem.html\">&lt;canvas&gt; demo<\/a><\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutor tells about a recent discovery regarding web graphics. With web programming, the technology is changing so quickly, it&#8217;s worth looking around once and awhile to see what&#8217;s new. One place I like to check out is w3schools.com; I&#8217;ve &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/web-programming-the-canvas-tag\/\"> <span class=\"screen-reader-text\">Web programming:  the &lt;canvas&gt; tag<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105,837],"tags":[1026,821],"class_list":["post-12171","post","type-post","status-publish","format-standard","hentry","category-computer-science","category-web-design","tag-html-canvas-tag","tag-web-programming"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/12171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=12171"}],"version-history":[{"count":13,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/12171\/revisions"}],"predecessor-version":[{"id":35246,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/12171\/revisions\/35246"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=12171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=12171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=12171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}