<?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>Python</anon>
    <anon>数学</anon>
  </categories>
  <description>タートルグラフィックスは再帰的な図形を描くのに適しています。Python では組み込みで簡単にタートルグラフィックスが利用できるので（参照）、ヒルベルト曲線を描いてみました。5次のヒルベルト曲線です。 コードは以下です。驚くほど簡単ですね。 from turtle import * step = 10 def draw(depth, angle): if depth &lt;= 0: return right(angle) draw(depth - 1, -angle) forward(step) left(angle) draw(depth - 1, angle) forward(step) dr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2016%2F12%2F24%2F023408&quot; title=&quot;Python の Turtle でヒルベルト曲線 - 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/20161224/20161224022849.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-12-24 02:34:08</published>
  <title>Python の Turtle でヒルベルト曲線</title>
  <type>rich</type>
  <url>https://obelisk.hatenablog.com/entry/2016/12/24/023408</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
