<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>OpenGL</anon>
  </categories>
  <description>どう書く?orgに投稿したものにちょっと手を加えたものを、備忘録代わりにこちらにも投稿。 「event handlers」以下が、OpenGL/GLUTを使って時間経過とともに状況(表示)が変わるものを表示するプログラムを書くときのテンプレートになると思います。draw関数に描画のコードを、updateに状況を更新するコードを書けばOK。 import Graphics.UI.GLUT import Control.Exception import System.Exit import Data.IORef interval = 0 windowWidth = 320::GLsizei win…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20090721%2F1248179698&quot; title=&quot;HaskellでOpenGL(再放送) - エンジニアのソフトウェア的愛情&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-07-21 21:34:58</published>
  <title>HaskellでOpenGL(再放送)</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/20090721/1248179698</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
