
jFAT: A Fairly Accurate Tiling Library
======================================

From the website:

  Dr. Andrew Davison
  Dept. of Computer Engineering
  Prince of Songkla University
  Hat Yai, Songkhla 90112, Thailand
  E-mail: ad@fivedots.coe.psu.ac.th
  http://fivedots.coe.psu.ac.th/~ad/jfat


If you use this code, please mention my name, and include a link
to the website.

Thanks,
  Andrew

==========================================================

Contents
--------

JAR file (in /lib):
  * jFAT.jar    
    -- this also contains the Java source code for the library

Examples:
  * Arrows.java
  * Axes.java
  * Carpet.java
  * DrawArrows.java
  * DrawATriangle.java
  * DrawBoxes.java
  * DrawCTris.java
  * DrawCurves.java
  * DrawFish.java			// Escher Square Limit
  * DrawHexs.java
  * DrawHorses.java			// Escher-like
  * DrawLizards.java		// Escher-like
  * DrawMaze.java			// A-mazing
  * DrawPenrose.java		// Penrose P2 dart and kite
  * DrawQuarters.java
  * DrawShapes.java
  * DrawTris.java
  * ImPentagons.java
  * Isoceles.java
  * Peanuts.java
  * PenroseClusters.java	// only generates the clusters; no tiling performed
  * Pentagons.java
  * Spirals.java
  * Stars.java
  * Traps.java
  * Triangles.java

    -- all the code is commented, and most of the examples are
       explained in the jFAT paper


Data used by the examples:
  * /data

Images saved by the examples:
  * /SavedPics
    -- initially empty to save space (11 MB's worth)


Batch files:
  * compile.bat
  * run.bat

----------------------------
Compiling and running:

> compile <java file>
> run <file>
    -- make sure you have jFAT.jar in the /lib directory
    -- you need to have Java installed (v.11 or later)

e.g.
> compile *.java
or
> compile DrawFish.java
> run DrawFish

Note: usually the tiling window will fill the monitor screen. Terminate
the program by clicking the tiling window's close box. A screenshot of
the tiling will be saved to /SavedPics.

-----------------------------
Last updated: 13th June 2022
