{"id":793,"date":"2013-07-03T18:52:57","date_gmt":"2013-07-03T17:52:57","guid":{"rendered":"http:\/\/johnjohnston.info\/106\/?p=793"},"modified":"2013-07-04T22:03:38","modified_gmt":"2013-07-04T21:03:38","slug":"alternative-lines-for-the-daily-create","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/106\/alternative-lines-for-the-daily-create\/","title":{"rendered":"Alternative Lines for the Daily Create"},"content":{"rendered":"<p>So Alan is <a title=\"Get Yer Creativity in Shape! The ds106 Daily Create Summer Challenge - CogDogBlog\" href=\"http:\/\/cogdogblog.com\/2013\/07\/01\/daily-create-summer-challenge\/\">barking about getting creative<\/a> which pushes me towards a dailycreate or two.<\/p>\n<p>Unfortunately yesterday&#8217;s <a href=\"http:\/\/tdc.ds106.us\/tdc541\/\">Draw something abstract out of straight lines<\/a> proved a bit of a problem, I stared at various iPad drawing apps, scratched a few lines and gave up.<\/p>\n<p>Waking early in the morning I though about this a bit, looked at the ones that had been created while I slept and though, I could do this with HyperCard. Lacking an old enough mac and wanting to learn a little more about the canvas element in html5 I decided on a small javascript experiment.<\/p>\n<p>A bit of googling and I came up with <a title=\"\" href=\"http:\/\/johnjohnston.info\/tests\/tdc541.html\">this simple page<\/a>. It basically produces an image with 600 random lines.<br \/>\n<a title=\"tdc541 by troutcolor, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/troutcolor\/9196923501\/\"><img loading=\"lazy\" decoding=\"async\" alt=\"tdc541\" src=\"https:\/\/farm8.staticflickr.com\/7406\/9196923501_9f992a3116.jpg\" width=\"500\" height=\"500\" \/><\/a><\/p>\n<p>There are a few other variations. I also looked for a nice quote about &#8216;straight lines&#8217; which is added to the image (this can be turned off).<br \/>\n<a href=\"http:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-794\" alt=\"lines4\" src=\"https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines4-150x150.jpg\" width=\"150\" height=\"150\" srcset=\"https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines4-150x150.jpg 150w, https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines4-300x300.jpg 300w, https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines4.jpg 600w\" sizes=\"auto, (max-width: 150px) 85vw, 150px\" \/><\/a><a href=\"http:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-795\" alt=\"lines3\" src=\"https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines3-150x150.png\" width=\"150\" height=\"150\" srcset=\"https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines3-150x150.png 150w, https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines3-300x300.png 300w, https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines3.png 600w\" sizes=\"auto, (max-width: 150px) 85vw, 150px\" \/><\/a><a href=\"http:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-796\" alt=\"lines2\" src=\"https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines2-150x150.png\" width=\"150\" height=\"150\" srcset=\"https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines2-150x150.png 150w, https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines2-300x300.png 300w, https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines2.png 600w\" sizes=\"auto, (max-width: 150px) 85vw, 150px\" \/><\/a><a href=\"http:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-797\" alt=\"lines1\" src=\"https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines1-150x150.png\" width=\"150\" height=\"150\" srcset=\"https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines1-150x150.png 150w, https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines1-300x300.png 300w, https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines1.png 600w\" sizes=\"auto, (max-width: 150px) 85vw, 150px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><s style=\"clear: both;\">Now I am wondering about making animated gifs from multiple images<\/s>. <a href=\"http:\/\/johnjohnston.info\/tests\/tdc541.html\">done<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-805\" alt=\"lines\" src=\"https:\/\/johnjohnston.info\/106\/wp-content\/uploads\/2013\/07\/lines.gif\" width=\"300\" height=\"300\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So Alan is barking about getting creative which pushes me towards a dailycreate or two. Unfortunately yesterday&#8217;s Draw something abstract out of straight lines proved a bit of a problem, I stared at various iPad drawing apps, scratched a few lines and gave up. Waking early in the morning I though about this a bit, &hellip; <a href=\"https:\/\/johnjohnston.info\/106\/alternative-lines-for-the-daily-create\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Alternative Lines for the Daily Create&#8221;<\/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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[81],"tags":[109,108,77],"class_list":["post-793","post","type-post","status-publish","format-standard","hentry","category-dailycreate","tag-html5","tag-images","tag-javascript"],"better_featured_image":null,"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3RLlC-cN","_links":{"self":[{"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/posts\/793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/comments?post=793"}],"version-history":[{"count":8,"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/posts\/793\/revisions"}],"predecessor-version":[{"id":801,"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/posts\/793\/revisions\/801"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/media?parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/categories?post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/106\/wp-json\/wp\/v2\/tags?post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}