{"id":1548,"date":"2022-02-22T01:54:23","date_gmt":"2022-02-22T01:54:23","guid":{"rendered":"http:\/\/sdi.thoughtstorms.info\/?p=1548"},"modified":"2022-02-22T01:54:23","modified_gmt":"2022-02-22T01:54:23","slug":"patterning-in-cardigan-bay","status":"publish","type":"post","link":"https:\/\/sdi.thoughtstorms.info\/?p=1548","title":{"rendered":"Patterning in Cardigan Bay"},"content":{"rendered":"\n<p>Finally done something I&#8217;ve been meaning to for a while, and brought <a href=\"https:\/\/github.com\/interstar\/Patterning-Core\">Patterning<\/a> into <a href=\"https:\/\/github.com\/interstar\/cardigan-bay\">Cardigan Bay<\/a>.<br \/><br \/>That means we now have a :patterning card type which can contain Clojure code (it&#8217;s interpreted on the server using <a href=\"https:\/\/github.com\/babashka\/sci\">Babashka SCI<\/a>) that renders patterns as SVG embedded in pages.<br \/><br \/>See <a href=\"http:\/\/thoughtstorms.info\/view\/PatterningInCardiganBay\">this example page<\/a> on ThoughtStorms which has patterns embedded in it.<br \/><\/p>\n\n\n\n<p>Here&#8217;s a screenshot of how it looks in Cardigan Bay itself.<br \/><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"911\" src=\"https:\/\/blog.thoughtstorms.info\/wp-content\/uploads\/2022\/02\/image.png\" alt=\"\" class=\"wp-image-1549\" srcset=\"https:\/\/sdi.thoughtstorms.info\/wp-content\/uploads\/2022\/02\/image.png 961w, https:\/\/sdi.thoughtstorms.info\/wp-content\/uploads\/2022\/02\/image-300x284.png 300w, https:\/\/sdi.thoughtstorms.info\/wp-content\/uploads\/2022\/02\/image-768x728.png 768w\" sizes=\"auto, (max-width: 961px) 100vw, 961px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Finally done something I&#8217;ve been meaning to for a while, and brought Patterning into Cardigan Bay. That means we now have a :patterning card type which can contain Clojure code (it&#8217;s interpreted on the server using Babashka SCI) that renders patterns as SVG embedded in pages. See this example page on ThoughtStorms which has patterns [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[57,67,331,502],"class_list":["post-1548","post","type-post","status-publish","format-standard","hentry","category-me","tag-cardigan-bay","tag-clojurescript","tag-patterning","tag-wiki"],"_links":{"self":[{"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/1548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1548"}],"version-history":[{"count":0,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/1548\/revisions"}],"wp:attachment":[{"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}