<?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>graphics</anon>
    <anon>font</anon>
    <anon>Ruby</anon>
  </categories>
  <description>簡単な実験が済んだので本番。Bézier曲線を用いて円を近似したい。こういうのはggればすぐに見つかる。 ベジェ曲線で描く円と真円の差についてが詳しいかな？誤差の解析も行ってるみたい。 実はろくに読まずにハンドルの計算だけ拝借して #! /usr/bin/ruby -Ku K = 4.0 * (Math.sqrt(2) - 1) / 3 class Point attr_reader :x, :y def initialize(x, y) @x = x; @y = y end end class Bezier def initialize(p0, p1, p2, p3) @p0 = p0; @…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2015%2F07%2F19%2F161838&quot; title=&quot;rubyとBézierと(2) - らんだむな記憶&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-19 16:18:38</published>
  <title>rubyとBézierと(2)</title>
  <type>rich</type>
  <url>https://randommemory.hatenablog.com/entry/2015/07/19/161838</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
