{"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/o/obelisk2/20180707/20180707123001.png","version":"1.0","blog_title":"Camera Obscura","provider_url":"https://hatena.blog","width":"100%","type":"rich","categories":["Ruby","Gem 'oekaki'"],"author_url":"https://blog.hatena.ne.jp/obelisk2/","provider_name":"Hatena Blog","description":"\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u30e9\u30f3\u30c0\u30e0\u306b\u6b21\u3005\u3068\u9577\u65b9\u5f62\u3067\u5857\u308a\u3064\u3076\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u5358\u7d14\u3060\u3051\u308c\u3069\u3001\u306a\u304b\u306a\u304b\u30dd\u30c3\u30d7\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3002 \u81ea\u4f5c\u306e RubyGem 'oekaki' \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002Ruby \u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u3002 oekaki_sample21.rb require 'oekaki' Width, Height = 500, 500 Oekaki.app width: Width, height: Height do draw {clear} rectangle = ->{ x1, y1 = rand(Width), rand(Height) x2, y2 = rand(Width), rand(Height\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2018%2F07%2F07%2F123334\" title=\"GTK+ \u3067\u843d\u66f8\u304d 17\uff08Ruby\uff09 - Camera Obscura\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2018-07-07 12:33:34","author_name":"obelisk2","title":"GTK+ \u3067\u843d\u66f8\u304d 17\uff08Ruby\uff09","url":"https://obelisk.hatenablog.com/entry/2018/07/07/123334","blog_url":"https://obelisk.hatenablog.com/","height":"190"}