<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>derwind</author_name>
  <author_url>https://blog.hatena.ne.jp/derwind/</author_url>
  <blog_title>らんだむな記憶</blog_title>
  <blog_url>https://randommemory.hatenablog.com/</blog_url>
  <categories>
    <anon>Game</anon>
    <anon>graphics</anon>
  </categories>
  <description>Minecraftで円形を作りたいとかいうことで、rubyで書いてみたが。 #! /usr/bin/ruby -Ku class CircleRenderer def initialize(radius) @radius = radius end def render center_x = @radius center_y = @radius adjust = 0.3 # 厳密な計算だとちょっと不恰好なので補正。 0.upto(@radius * 2 + 1 - 1).each { |x| 0.upto(@radius * 2 + 1 - 1).each { |y| if (x - cente…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2015%2F07%2F12%2F001813&quot; title=&quot;ブロックで描く円 - らんだむな記憶&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-07-12 00:18:13</published>
  <title>ブロックで描く円</title>
  <type>rich</type>
  <url>https://randommemory.hatenablog.com/entry/2015/07/12/001813</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
