<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osushi_94</author_name>
  <author_url>https://blog.hatena.ne.jp/osushi_94/</author_url>
  <blog_title>マイナンバー忘れました</blog_title>
  <blog_url>https://94.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Processing</anon>
    <anon>code</anon>
    <anon>coding</anon>
  </categories>
  <description>#Processing pic.twitter.com/C1Nt3GEHe0 — 94 (@_94_94) June 16, 2018 最近、プログラマのための数学という本を読んだんだけど、 そこで書かれていた余剰の考え方が参考になった。 任意の数値で周期を抽出する、という考え方。 i%2 ==0 これは偶数を取り出せる。 奇数の時は白、偶数の時は黒でぬった。 i%3 ==0 これだと3の倍数が取り出せる。 繰り返しの表現をするときにこれは使える。 次は偶数奇数じゃなくて任意の数値でやってみよう。 size(800, 800); background(255); translate(width…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F94.hatenadiary.jp%2Fentry%2F2018%2F06%2F16%2F204654&quot; title=&quot;【Processing】余剰を使って奇数と偶数を判定する - マイナンバー忘れました&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://images-fe.ssl-images-amazon.com/images/I/51JY0QLFuEL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-16 20:46:54</published>
  <title>【Processing】余剰を使って奇数と偶数を判定する</title>
  <type>rich</type>
  <url>https://94.hatenadiary.jp/entry/2018/06/16/204654</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
