Perlin Noise 関連のメモ
http://www.iquilezles.org/www/articles/morenoise/morenoise.htm
参考になる。が、ここで紹介されているテクニックは、実際には Perlin noise に適用できない。
Perlin Noise 関連のメモ
http://www.iquilezles.org/www/articles/morenoise/morenoise.htm
参考になる。が、ここで紹介されているテクニックは、実際には Perlin noise に適用できない。
inline ofMatrix4x4 homography2glModelViewMatrix(const cv::Mat &homography) | |
{ | |
ofMatrix4x4 matrix; | |
matrix(0, 0) = homography.at<double>(0, 0); | |
matrix(0, 1) = homography.at<double>(1, 0); | |
matrix(0, 2) = 0; | |
matrix(0, 3) = homography.at<double>(2, 0); | |
matrix(1, 0) = homography.at<double>(0, 1); |
#!/bin/sh | |
playerurl=http://radiko.jp/apps/js/flash/myplayer-release.swf | |
cookiefile=./cookie.txt | |
playerfile=./player.swf | |
keyfile=./authkey.png | |
if [ $# -eq 1 ]; then | |
channel=$1 | |
output=./$1.flv |
// see http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// shim layer with setTimeout fallback | |
window.requestAnimFrame = (function(){ | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || | |
window.oRequestAnimationFrame || | |
window.msRequestAnimationFrame || |
<!Docutype HTML> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>UserStreamsClient</title> | |
<script src="http://www.google.com/jsapi"></script> | |
<script> google.load("jquery", "1.4") </script> | |
<style> | |
div.tweet { | |
border-bottom: 1px solid #999; |