> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://studio.sketchpad.cc/sp/pad/view/ro.bcN31ZNjGz4/rev.28
 * 
 * authors: 
 *   GoToLoop

 * license (unless otherwise specified): 
 *   creative commons attribution-share alike 3.0 license.
 *   https://creativecommons.org/licenses/by-sa/3.0/ 
 */ 



/** 
 * Unicode Letters Test (v1.0.1)
 * GoToLoop (2017/Jul/12)
 *
 * https://Forum.Processing.org/two/discussion/23416/
 * need-help-because-processing-can-t-read-slovak#Item_1
 *
 * http://Studio.ProcessingTogether.com/sp/pad/export/ro.9hlrt8LyDd9uA
 */

static final boolean JAVA = 1/2 != 1/2.;
static final int FONT_SIZE = 24;
static final String FONT_JAVA = "Serif";

void setup() {
  size(600, 200);
  smooth(3);
  noLoop();

  colorMode(RGB);
  fill(#FFFF00);

  textMode(MODEL);
  textAlign(CENTER, CENTER);

  if (JAVA)  textFont(createFont(FONT_JAVA, FONT_SIZE, true));
  else       textSize(FONT_SIZE);
}

void draw() {
  background(#0000FF);

  text("διχθαδίας κῆρας φερέμεν θανάτοιο τέλος δέ.\n" +
    "Бу́ря мгло́ю не́бо кро́ет, Ви́хри сне́жные крутя́;\n" + 
    "富士の風や扇にのせて江戸土産\n" + "Ako sa voláš", width>>1, height>>1);
}