Example Applications and Screenshots

KamLAND Online Event Viewer

An example of Kinoko Canvas's Map View.

View Script

display KamlandInnerPmtMapView 
{ 
    Map pmt_map("KamLAND Event View", -3.5, 4.0, -1.5, 1.5, 0, 4096);
    pmt_map.setPointSize(1.0);

    /* Read information regarding display position from file */
    InputFile pmt_position_file("PmtPosition-Unroll.dat");
    string pmt_record;
    while ((pmt_record = pmt_position_file.readLine()) != "") {
	Scanner scanner(pmt_record);
	float pmt_number = scanner.get();
	float x = scanner.get();
	float y = scanner.get();

	pmt_map.addPoint(pmt_number, x, y);
    }

    sequence KamEventViewer("KamlandInnerPmt") {
        DataElement pmt_charge("charge");
        pmt_map.takeOne(pmt_charge);
    }
}

Screenshot

The following are all drawn by converting the coordinate system inside the script (The only inputs are ). Depending on the projection (such as Mollwelde's), non-linear equations are solved inside the script.