2011-08-01から1ヶ月間の記事一覧

JavaScriptの3Dライブラリ three.js を試してみる

JavaScriptで3Dが描けるライブラリ three.js を試してみた。three.js https://github.com/mrdoob/three.js/ <html> <head> <title>three.js</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> </head></html>

Scalaの限定継続のshiftだけを含む関数オブジェクトを作れるかを実験

関数オブジェクトの定義の中にshiftを入れて、関数オブジェクトを別のメソッドに渡す、そのメソッドではresetの中でその関数オブジェクトを呼び出す、ってのができるかを実験した。 import scala.util.continuations.cpsParam; import scala.util.continuati…