xxxxxxxxxx
//ctrl+alt+f to fullscreen, ctrl+enter to play
//general data
int athletes = 60;
int athletesPerColumn = 60;
int columns = 1;
//elimination
int eliminated = 1; //athletes already eliminated
int eliminatedPerRound = 1;
boolean eliminatedBox = true; //have a box for the athletes eliminated
//time
float runTime = 4; //in seconds
float runTimeDelay = 1; //in seconds
float sortTime = 4; //in seconds
float sortTimeDelay = 0; //in seconds
float eliminationDelay = 2; //in seconds
//easing of time
int runTimeEase = 1; //set to 0 for linear ease, set to 1 or any other number for sine ease
int sortEase = 0; //set to 0 for sine ease, set to 1 or any other number for linear ease
//colored bars, names, and ranks
int maxBarWidth = 540; //the max width of a colored bar in pixels [<- ->]; it's in pixels because the score numbers pose an issue
float scorebarRankScale = 1.125; //width of the column with ranks | default is 1.0
float scorebarNameScale = 1.125; //width of the column with names | default is 1.0
float barHeight = 0.875; //the height of the colored bars, i recommend any 1 and lower
//text adjustments
int textScale = 1; //size of text; size should be 1 to 0
int textYAdjust = 1; //adjusts the y axis of the text
int textXAdjust = 4; //adjusts the x axis of the text
//rounded boxes
int roundEdgeWidth = 8; //set to 0 if you don't want it
int roundEdgeCurve = 500;
//colors (red, green, blue, alpha/opacity)
float[] eliminatedTextColors = [255, 0, 0, 255];
float[] newEliminatedTextColors = [255, 0, 0, 255];
String eliminatedText = "not eliminated";
String newEliminatedText = "eliminated now";
float[] eliminatedBoxColors = [128, 0, 0, 128];
float[] newEliminatedBoxColors = [192, 0, 0, 128];
float[] backgroundColor = [48, 48, 48];
float[] nameColumnColor = [80, 80, 80, 255];
float[] rankColumnColor = [128, 128, 128, 255];
float[] rankTextColor = [255, 192, 0, 255];
float[] scoreTextColor = [255, 0, 255, 255];
//miscellaneous
char resetKey = 'a'; //key to restart the timer of the board; you'll have to click on the simulation first for it to work
boolean printResults = false; //set to true if you want the results printed, and vice versa
String selectFont = "Trebuchet MS";
boolean qFullscreen = true; //sets the screen size to the current window size
int[] screenSize = [1920,1080]; //only applicable when qFullscreen is set to false