<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kurimayoshida</author_name>
  <author_url>https://blog.hatena.ne.jp/kurimayoshida/</author_url>
  <blog_title>てけとーぶろぐ。</blog_title>
  <blog_url>https://kurima.hatenablog.com/</blog_url>
  <categories>
    <anon>開発</anon>
  </categories>
  <description>前回の続き。Windowsアプリでよく見る Ctrl + マウスホイール での拡大表示の 拡大率を現実世界をモデリングして求めてみようという話。 ある人が視野角θで対象物を見ていて、それが高さhで見えているとする。 そこから人がxだけ前進すると対象物の見える範囲がh'になるとする。hだけ見えていたのがh'しか見えなくなるのだから 拡大率 = h / h' だ。ある距離x進んだ時の拡大率が知りたいのだから h'をxとhで表せれば良さそう。 図の赤い三角形に着目すると 赤い三角形右辺の長さ = (h - h') であることが分かる。同時に 赤い三角形右辺の長さ = x * tan(θ/2) * 2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkurima.hatenablog.com%2Fentry%2F2015%2F03%2F18%2F201420&quot; title=&quot;マウスホイールでの拡大縮小を考える。(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>http://cdn-ak.f.st-hatena.com/images/fotolife/k/kurimayoshida/20150318/20150318200152.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-03-18 20:14:20</published>
  <title>マウスホイールでの拡大縮小を考える。(2)</title>
  <type>rich</type>
  <url>https://kurima.hatenablog.com/entry/2015/03/18/201420</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
