<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cocoatomo</author_name>
  <author_url>https://blog.hatena.ne.jp/cocoatomo/</author_url>
  <blog_title>cocoatomo衝動日記〈移行後版〉</blog_title>
  <blog_url>https://cocoatomo.hatenablog.jp/</blog_url>
  <categories>
    <anon>math</anon>
  </categories>
  <description>[追記] この記事には誤りが含まれています。訂正した記事はこちらです。 今日は 1 つネタをもらったので, ガチな数学をやろうと思います. お題は「点線で楕円を描く」です.円の場合は, 等角度ごとに区切って点線を書いていけば良いので簡単です. たいていの場合, 三角関数は標準ライブラリにあるのであまり苦労しません.しかし楕円の場合となると, 円がつぶれた形をしているので一筋縄ではいきません. 話の流れを追いつつ, どう解決していったか見ていきましょう. 発端 募集：PIL で点線の楕円を描画するのが得意な人。つーか、arc (円弧描画)関数だけで点線が書ける人。 http://twitter.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcocoatomo.hatenablog.jp%2Fentry%2F20110118%2F1295371941&quot; title=&quot;点線で楕円を描く - cocoatomo衝動日記〈移行後版〉&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>2011-01-18 02:32:21</published>
  <title>点線で楕円を描く</title>
  <type>rich</type>
  <url>https://cocoatomo.hatenablog.jp/entry/20110118/1295371941</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
