<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiroyuki2020</author_name>
  <author_url>https://blog.hatena.ne.jp/shiroyuki2020/</author_url>
  <blog_title>プログラミングとウェブデザインの勉強メモ</blog_title>
  <blog_url>https://shiroyuki2020.hatenablog.com/</blog_url>
  <categories>
    <anon>p5.js</anon>
  </categories>
  <description>三角関数を使うと円周上に図形を描画することができます。三角関数の理解を深められれば、より複雑な軌道を描くアニメーションができると思います。なお、この記事はドットインストールというプログラミング学習サービスの内容を参考にしています。 sic(),cos():円周上に図形を描画する 螺旋状に図形を描画する まとめ 参考サイト sic(),cos():円周上に図形を描画する sic()とcos()で、円周上のx座標y座標を求める。 let angle = 0; //角度 let r = 50; //半径 let x, y; //xy座標 function setup(){ createCanvas(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshiroyuki2020.hatenablog.com%2Fentry%2Fp5js_12&quot; title=&quot;p5.js|三角関数:sin(),cos() - プログラミングとウェブデザインの勉強メモ&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/s/shiroyuki2020/20210427/20210427230616.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-07 19:00:00</published>
  <title>p5.js|三角関数:sin(),cos()</title>
  <type>rich</type>
  <url>https://shiroyuki2020.hatenablog.com/entry/p5js_12</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
