<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nogson2</author_name>
  <author_url>https://blog.hatena.ne.jp/nogson2/</author_url>
  <blog_title>のぐそんブログ</blog_title>
  <blog_url>https://nogson2.hatenablog.com/</blog_url>
  <categories>
    <anon>WebGL</anon>
    <anon>javascript</anon>
  </categories>
  <description>フラグメントシェーダーを使って円を描いてみます。 三平方の定理で円を描く void main( void ) { vec2 st = (gl_FragCoord.xy * 2.0 - resolution) / min(resolution.x, resolution.y); vec4 c = vec4(1.0); if(pow(st.x,2.0) + pow(st.y,2.0) &lt;= 0.5){ c = vec4(0.0); } gl_FragColor = c; }</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnogson2.hatenablog.com%2Fentry%2F2017%2F11%2F06%2F222759&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://qiita-image-store.s3.amazonaws.com/0/11290/6e3f8e48-7467-47fd-81bb-b71338921c40.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-06 22:27:59</published>
  <title>フラグメントシェーダーを使って円を描く</title>
  <type>rich</type>
  <url>https://nogson2.hatenablog.com/entry/2017/11/06/222759</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
