<br />
<b>Warning</b>:  Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in <b>/home/clients/7267bc096562fcdb78c0ab60d3ac51fb/web/blog/wp-content/plugins/jetpack/class.jetpack-ixr-client.php</b> on line <b>91</b><br />
{"id":549,"date":"2015-09-04T17:43:19","date_gmt":"2015-09-04T17:43:19","guid":{"rendered":"http:\/\/barradeau.com\/blog\/?p=549"},"modified":"2015-09-04T18:28:23","modified_gmt":"2015-09-04T18:28:23","slug":"stippling","status":"publish","type":"post","link":"https:\/\/barradeau.com\/blog\/?p=549","title":{"rendered":"stippling"},"content":{"rendered":"<p>a quickie\u00a0to celebrate holidays!<\/p>\n<blockquote>\n<header class=\"luna-data-header\"><span class=\"dbox-pg\">to\u00a0stipple (verb)<\/span><\/header>\n<div class=\"def-set\">to paint, engrave, or draw by means of dots or small touches.<\/div>\n<\/blockquote>\n<p>here&#8217;s why\u00a0english is a beautiful language. stippling is a graphic way of rendering masses. I must admit I&#8217;m obsessed with stippling for years now, I\u00a0wanted to give it a try for a while and never found time to do so.<\/p>\n<p>to mimic a stippling,\u00a0we&#8217;ll need dots &#8211; obviously\u00a0&#8211; and\u00a0one approach would be to randomly distribute dots over a surface, retrieve the greyscale value of\u00a0a picture&#8217;s\u00a0pixel, normalize it, then index the size of the dot on this value. that&#8217;s how the final render works (somehow). but there&#8217;s a more elegant way to distribute dots over a surface called the <em>Poisson Disc distribution<\/em>. I chose to use it for the\u00a0graphic quality of the ouput but also because Poisson means <em>fish<\/em>\u00a0in french which I find extremely funny. a good explanation &amp; example of what Poisson distribution is can be found on <a href=\"http:\/\/bost.ocks.org\/mike\/algorithms\/\" target=\"_blank\">Mike Bostock&#8217;s amazing page<\/a>.<\/p>\n<p><span style=\"font-size: 0.9em; line-height: 1.5;\"><a href=\"http:\/\/devmag.org.za\/2009\/05\/03\/poisson-disk-sampling\/\" target=\"_blank\">I ported the code found here<\/a>\u00a0&amp; pushed an example on codepen (click to reset):<\/span><\/p>\n<p class=\"codepen\" data-height=\"640\" data-theme-id=\"4835\" data-slug-hash=\"rOapPL\" data-default-tab=\"result\" data-user=\"nicoptere\">See the Pen <a href=\"http:\/\/codepen.io\/nicoptere\/pen\/rOapPL\/\">Honhonhon le poisson!<\/a> by nicolas barradeau (<a href=\"http:\/\/codepen.io\/nicoptere\">@nicoptere<\/a>) on <a href=\"http:\/\/codepen.io\">CodePen<\/a>.<\/p>\n<p><script src=\"\/\/assets.codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n<p>stippling is\u00a0used to spare some ink when printing\u00a0large posters, I did a variation on the render with 3 colors\u00a0&amp;\u00a0a subtractive blendmode. I collected a series of portraits from <a href=\"https:\/\/www.google.com\/search?q=portrait+black+and+white&amp;es_sm=122&amp;biw=1920&amp;bih=955&amp;tbm=isch&amp;source=lnt&amp;tbs=isz:ex,iszw:256,iszh:256\" target=\"_blank\">Google images\u00a0<\/a>and applied the process to the\u00a0204\u00b2 px pictures. \u00a0here are some results:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-556\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_0.png\" alt=\"stippling_0\" width=\"774\" height=\"774\" srcset=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_0.png 774w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_0-150x150.png 150w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_0-300x300.png 300w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_0-250x250.png 250w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_0-100x100.png 100w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-557\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_1.png\" alt=\"stippling_1\" width=\"774\" height=\"774\" srcset=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_1.png 774w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_1-150x150.png 150w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_1-300x300.png 300w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_1-250x250.png 250w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_1-100x100.png 100w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-558\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_2.png\" alt=\"stippling_2\" width=\"774\" height=\"774\" srcset=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_2.png 774w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_2-150x150.png 150w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_2-300x300.png 300w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_2-250x250.png 250w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_2-100x100.png 100w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-559\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_3.png\" alt=\"stippling_3\" width=\"774\" height=\"774\" srcset=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_3.png 774w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_3-150x150.png 150w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_3-300x300.png 300w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_3-250x250.png 250w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_3-100x100.png 100w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-560\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_4.png\" alt=\"stippling_4\" width=\"774\" height=\"774\" srcset=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_4.png 774w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_4-150x150.png 150w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_4-300x300.png 300w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_4-250x250.png 250w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_4-100x100.png 100w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-561\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_5.png\" alt=\"stippling_5\" width=\"774\" height=\"774\" srcset=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_5.png 774w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_5-150x150.png 150w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_5-300x300.png 300w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_5-250x250.png 250w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_5-100x100.png 100w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-562\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_6.png\" alt=\"stippling_6\" width=\"774\" height=\"774\" srcset=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_6.png 774w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_6-150x150.png 150w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_6-300x300.png 300w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_6-250x250.png 250w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_6-100x100.png 100w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/> <img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-563\" src=\"http:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_7.png\" alt=\"stippling_7\" width=\"774\" height=\"774\" srcset=\"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_7.png 774w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_7-150x150.png 150w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_7-300x300.png 300w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_7-250x250.png 250w, https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/stippling_7-100x100.png 100w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/><\/p>\n<p>lovely ain&#8217;t it ?<\/p>\n<p>and here&#8217;s <a href=\"http:\/\/barradeau.com\/everyday\/0\/\">the\u00a0live demo<\/a> ( click to load next picture, might freeze your computer )<\/p>\n","protected":false},"excerpt":{"rendered":"<p>a quickie\u00a0to celebrate holidays! to\u00a0stipple (verb) to paint, engrave, or draw by means of dots or small touches. here&#8217;s why\u00a0english is a beautiful language. stippling is a graphic way of rendering masses. I must admit I&#8217;m obsessed with stippling for years now, I\u00a0wanted to give it a try for a while and never found time &#8230; <span class=\"more\"><a class=\"more-link\" href=\"https:\/\/barradeau.com\/blog\/?p=549\">[Read more&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":564,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sharing_disabled":false,"spay_email":"","jetpack_publicize_message":""},"categories":[3],"tags":[4,5,6],"jetpack_featured_media_url":"https:\/\/barradeau.com\/blog\/wp-content\/uploads\/2015\/09\/cover.png","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4oXhx-8R","_links":{"self":[{"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/549"}],"collection":[{"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=549"}],"version-history":[{"count":11,"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/549\/revisions"}],"predecessor-version":[{"id":569,"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/549\/revisions\/569"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/564"}],"wp:attachment":[{"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/barradeau.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}