<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yatcho</author_name>
  <author_url>https://blog.hatena.ne.jp/yatcho/</author_url>
  <blog_title>思いついたことをつらつらメモる</blog_title>
  <blog_url>https://yatcho.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Javaの勉強のために、 Javaを使ってアナログ時計を作ろうと思います。まず要素を分けると、①時針（分針が１回転すると360/12＝３０度動く） ②分針（秒針が１回転すると360/60＝６度動く） ③秒針（１秒当たり360/60＝６度動く）となります。針の動きは線の１端が固定で、もう一方が円を描くことは ①②③で共通しています。円の動きですが、三角関数を使います。sin、cosは波形は同じものを描きますが、sinは０度で０、９０度で１、１８０度で０、２７０度で−１、３６０度で０ cosは０度で１、９０度で０、１８０度で−１、２７０度で０、３６０度で１ となります。 （cosはsinに90度プ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyatcho.hatenadiary.org%2Fentry%2F20090324%2F1237914328&quot; title=&quot;Javaを使ってアナログ時計を作ろうと思います。 - 思いついたことをつらつらメモる&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/yatcho/20161130/20161130194705.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-03-24 02:05:28</published>
  <title>Javaを使ってアナログ時計を作ろうと思います。</title>
  <type>rich</type>
  <url>https://yatcho.hatenadiary.org/entry/20090324/1237914328</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
