This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int cx=800, cy=600; //画面の大きさ | |
//旗画像の設定 | |
int flagMax = 40; | |
String[] flagImage = new String[flagMax]; | |
PImage img; | |
String imagePreLoad=""; | |
int flg=-1; //フラッグ | |
int ktimer; //固視点時間計測用 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>FlagTest</title> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<script type="text/javascript" src="data/processing-1.4.1.min.js"></script> | |
<!-- IE用 --> | |
<script type="text/javascript" src="data/excanvas.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
NyARToolkit for proce55ing/1.0.0 | |
(c)2008-2011 nyatla | |
airmail(at)ebony.plala.or.jp | |
最も短いARToolKitのコードです。 | |
Hiroマーカを用意してください。 | |
This sample program is most small sample as simpleLite. | |
The marker is "patt.hiro". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ********************************************** | |
// 入力した問題を | |
// マウスクリックで連続表示 | |
// | |
// ********************************************** | |
//フォントを準備する | |
PFont font = createFont("FFScale",32); | |
//問題設定 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ********************************************** | |
// 自動作成したな問題と答えを | |
// マウスクリックでランダム表示(割り算) | |
// | |
// ********************************************** | |
//フォントを準備する | |
PFont font = createFont("FFScale",32); | |
//問題と答えの設定 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ********************************************** | |
// 自動作成したな問題と答えを | |
// マウスクリックでランダム表示 | |
// | |
// ********************************************** | |
//フォントを準備する | |
PFont font = createFont("FFScale",32); | |
//問題と答えの設定 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ********************************************** | |
// 自動作成したな問題を | |
// マウスクリックでランダム表示 | |
// | |
// ********************************************** | |
//フォントを準備する | |
PFont font = createFont("FFScale",32); | |
//問題設定 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ********************************************** | |
// 自動作成したな問題を | |
// マウスクリックで連続表示 | |
// | |
// ********************************************** | |
//フォントを準備する | |
PFont font = createFont("FFScale",32); | |
//問題設定 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ********************************************** | |
// 自動作成したな問題を | |
// マウスクリックで連続表示 | |
// | |
// ********************************************** | |
//フォントを準備する | |
PFont font = createFont("FFScale",32); | |
//問題設定 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ********************************************** | |
// 自動作成したな問題を | |
// マウスクリックで連続表示 | |
// | |
// ********************************************** | |
//フォントを準備する | |
PFont font = createFont("FFScale",32); | |
//問題設定 |