<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>SaidaTaisei</author_name>
  <author_url>https://blog.hatena.ne.jp/SaidaTaisei/</author_url>
  <blog_title>pypy.com/</blog_title>
  <blog_url>https://taiboman.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは。 今回はOpenGL第二弾ということで、コッホ曲線を描いてみたいと思います。 コッホ曲線とは 実際にコードを書いてみる コッホ曲線とは 下図のように、点Sと点Eを与えたときに、点Sと点Eの間を三等分してP1,P2,P3をもとめます。 その後、S,P1で同様の操作、P1,P2で同様の操作・・・ と繰り返すことで、曲線を求めていきます。 例えば、二回操作すると、以下のようになります。 ちなみに、最初が逆三角形の三辺スタートのものをコッホ雪片と呼び、以下のような図形になります。 実際にコードを書いてみる 実際に以下のようにコードを書いてみました。再帰的に点を求めていくような感じになります…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaiboman.com%2Fentry%2F2020%2F05%2F06%2F001234&quot; title=&quot;pythonでOpenGL　コッホ曲線 - pypy.com/&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/S/SaidaTaisei/20200505/20200505233012.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-06 00:12:34</published>
  <title>pythonでOpenGL　コッホ曲線</title>
  <type>rich</type>
  <url>https://taiboman.com/entry/2020/05/06/001234</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
