<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yarb</author_name>
  <author_url>https://blog.hatena.ne.jp/yarb/</author_url>
  <blog_title>yarbの日記</blog_title>
  <blog_url>https://yarb.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>バッファを埋めた塗りつぶしの円を、少しずつ変化させて目的の画像に近づけるという処理をやってみた。 int mutate_circle (circle *cir) { cir-&gt;col = rand() &amp; 0x00ffffff; cir-&gt;alpha = rand() % 100; cir-&gt;rad = rand() % 30 + 10; return 0; } 変化させてみて、それがターゲット画像に近くなったかどうかを判定してどんどん変えていく。直径を変えてしまうと、不要な円がどんどん縮んで行く感じで、ちょっと反則というか面白くない感じもあるけど、とりあえず。判定は、 double diff…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyarb.hatenadiary.org%2Fentry%2F20090817%2Fp1&quot; title=&quot;円を少し進化させてみる - yarbの日記&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/y/yarb/20090817/20090817055808.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-08-17 00:00:00</published>
  <title>円を少し進化させてみる</title>
  <type>rich</type>
  <url>https://yarb.hatenadiary.org/entry/20090817/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
