{"width":"100%","blog_title":"yarb\u306e\u65e5\u8a18","provider_name":"Hatena Blog","height":"190","provider_url":"https://hatena.blog","image_url":null,"type":"rich","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyarb.hatenadiary.org%2Fentry%2F20090812%2Fp1\" title=\"circle\u306e\u7bc4\u56f2\u3092\u6700\u9069\u5316 - yarb\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30d0\u30c3\u30d5\u30a1\u4e0a\u3067\u5186\u3092\u5857\u308a\u3064\u3076\u3059\u3068\u304d\u3001 (0...buf.y).each do |i| (0...buf.x).each do |j| if (y - i)**2 + (x -j)**2 < r**2 then buf.buf[i][j] = color end end end \u3068\u3084\u3063\u3066\u3044\u305f\u3051\u3069\u3001\u660e\u3089\u304b\u306b\u30c1\u30a7\u30c3\u30af\u3059\u308b\u610f\u5473\u304c\u306a\u3044\u3068\u3053\u308d\u307e\u3067\u8abf\u3079\u3066\u3044\u308b\u306e\u3067\u3001 upper = (y - r) > 0 ? (y - r) : 0 lower = (y + r) > buf.y ? buf.y : (y + r) left = (x - r) > 0 ? (x - r) : 0 right = (x + r) \u2026","author_url":"https://blog.hatena.ne.jp/yarb/","author_name":"yarb","published":"2009-08-12 00:00:02","blog_url":"https://yarb.hatenadiary.org/","url":"https://yarb.hatenadiary.org/entry/20090812/p1","categories":[],"title":"circle\u306e\u7bc4\u56f2\u3092\u6700\u9069\u5316"}