{"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/yamamucho/","height":"190","url":"https://yamamucho.hatenadiary.org/entry/20090620/1245480307","blog_title":"\u9154\u3044\u3069\u308c\u30b3\u30fc\u30c9","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/y/yamamucho/20090620/20090620153031.png","type":"rich","description":"\u4eca\u65e5\u306f\u3001\u30b3\u30c3\u30db\u66f2\u7dda\u3092\u63cf\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002\u7406\u7531\u306f\u7279\u306b\u3042\u308a\u307e\u305b\u3093\u3001\u601d\u3044\u3064\u304d\u3067\u3059\u3002\u306f\u3058\u3081\u306f\u66f2\u304c\u308b\u70b9\u3092\u6c42\u3081\u308b\u3060\u3051\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8003\u3048\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u3069\u3046\u305b\u306a\u3089\u76ee\u306b\u898b\u3048\u308b\u3088\u3046\u306b\u3057\u3088\u3046\u3068\u601d\u3044\u3001\u63cf\u3044\u305f\u30b3\u30c3\u30db\u66f2\u7dda\u3092\u753b\u50cf\u306b\u51fa\u529b\u3059\u308b\u51e6\u7406\u307e\u3067\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u753b\u50cf\u306e\u63cf\u753b\u306b\u306f cairo \u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u3068\u3002 require 'cairo' # # \u30b3\u30c3\u30db\u66f2\u7dda\u306e\u63cf\u753b\u30af\u30e9\u30b9 # class KochCurve COS = Math.cos(Math::PI / 3) SIN = Math.sin(Math::PI / 3) #=== \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf # #_width_ :: \u753b\u50cf\u5e45 #_height_ :\u2026","published":"2009-06-20 15:45:07","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyamamucho.hatenadiary.org%2Fentry%2F20090620%2F1245480307\" title=\"Ruby\u7df4\u7fd2\u4e8c\u65e5\u76ee\uff08\u30b3\u30c3\u30db\u66f2\u7dda\uff09 - \u9154\u3044\u3069\u308c\u30b3\u30fc\u30c9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"yamamucho","version":"1.0","categories":["Ruby","programming"],"width":"100%","provider_name":"Hatena Blog","title":"Ruby\u7df4\u7fd2\u4e8c\u65e5\u76ee\uff08\u30b3\u30c3\u30db\u66f2\u7dda\uff09","blog_url":"https://yamamucho.hatenadiary.org/"}