#!/usr/local/bin/freej -j // freej script example by Mr.Goil // this one can tile a seamless image and pan a plane with it // $Id: $ include("keyboard.js"); w=400; h=300; tile_x=128; tile_y=128; max_m=Math.ceil(w/tile_x) * 2; max_n=Math.ceil(h/tile_y) * 2; imgs = new Array(); for (m=0; m