Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pde text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
8 changes: 6 additions & 2 deletions evolutionSteer.pde
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,11 @@ void drawStatusWindow(boolean isFirstFrame) {
}
}
}

void settings() {
size((int)(windowWidth*windowSizeMultiplier), (int)(windowHeight*windowSizeMultiplier),P3D);
}

void setup() {
String[] prePatronData = loadStrings("PatronReport_2017-06-12.csv");
patronData = new String[PATRON_COUNT];
Expand All @@ -866,7 +871,6 @@ void setup() {
frameRate(60);
randomSeed(SEED);
noSmooth();
size((int)(windowWidth*windowSizeMultiplier), (int)(windowHeight*windowSizeMultiplier),P3D);
ellipseMode(CENTER);
Float[] beginPercentile = new Float[29];
Integer[] beginBar = new Integer[barLen];
Expand Down Expand Up @@ -1609,4 +1613,4 @@ float getFitness(){
}
void setFitness(int i){
c[i].d = getFitness();
}
}