<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>obelisk2</author_name>
  <author_url>https://blog.hatena.ne.jp/obelisk2/</author_url>
  <blog_title>Camera Obscura</blog_title>
  <blog_url>https://obelisk.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>かんたんコーディング</anon>
  </categories>
  <description>いつもの得意技（？）のライフゲームです。Ruby 用のグラフィック・ライブラリ 'Ruby2D' を使っています。コード。 lifegame_for_Ruby2D.rb require 'ruby2d' include Ruby2D::DSL class LifeGame CellWidth = 10 Margin = 20 Space = 2 SideWidth = 35 W = CellWidth * SideWidth + Space * (SideWidth - 1) + Margin * 2 def initialize(num) set width: W, height: W, t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2019%2F03%2F20%2F020835&quot; title=&quot;Gem &amp;#39;Ruby2D&amp;#39; でライフゲーム - Camera Obscura&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>https://cdn-ak.f.st-hatena.com/images/fotolife/o/obelisk2/20190320/20190320020235.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-20 02:08:35</published>
  <title>Gem 'Ruby2D' でライフゲーム</title>
  <type>rich</type>
  <url>https://obelisk.hatenablog.com/entry/2019/03/20/020835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
