<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>usiblog</author_name>
  <author_url>https://blog.hatena.ne.jp/usiblog/</author_url>
  <blog_title>うしブログ</blog_title>
  <blog_url>https://usidesu.hatenablog.com/</blog_url>
  <categories>
    <anon>GeoGebra</anon>
    <anon>GeoGebra-作品紹介</anon>
    <anon>GeoGebra-作品紹介-アート</anon>
    <anon>GeoGebra-作品紹介-アート-グラデーション</anon>
  </categories>
  <description>以前のアプレット（下記リンク）では、マウスイベントやタッチイベントにあわせて、既存のcanvas 要素にグラデーションを描画していました（setInteval メソッドを利用していました）。その際、グラデーションが意図せず点滅する問題を抱えていました。 グラデーション三角形_タッチデバイス対応版 - うしブログ 今回のバージョンでは、既存のcanvas 要素にグラデーションを描画するのではなく、新たにcanvasを作成し、そこに描画しています。また、イベントハンドラやsetInterval メソッドを使うのではなく、requestAnimationFrame メソッドを使うことで、適切なタイミ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fusidesu.hatenablog.com%2Fentry%2F2018%2F05%2F22%2F051627&quot; title=&quot;「グラデーション三角形」_描画安定版 - うしブログ&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/u/usiblog/20180824/20180824090016.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-22 05:16:27</published>
  <title>「グラデーション三角形」_描画安定版</title>
  <type>rich</type>
  <url>https://usidesu.hatenablog.com/entry/2018/05/22/051627</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
