clean up old files

This commit is contained in:
jan 2016-07-10 18:33:27 -07:00
commit a8c8240e1d
37 changed files with 237 additions and 174 deletions

View file

@ -27,14 +27,11 @@ class ProjectorApplet extends PApplet {
@Override
public void setup() {
clear();
smooth();
// calibrator.activate(); //for testing
// smooth(); // Smooth might create artefacts when animating?
}
@Override
public void draw() {
calibrator.draw(parent);
ArrayList<Integer> entriesToRemove = new ArrayList<>();
try {
for (int i = 0; i < commandQueue.size(); i++) {
@ -53,6 +50,9 @@ class ProjectorApplet extends PApplet {
for (int i = entriesToRemove.size() - 1; i >= 0; i--) {
commandQueue.remove(i);
}
calibrator.draw(parent);
}
public void reset() {

View file

@ -1,9 +1,3 @@
public interface ProjectorCommand {
boolean run(ProjectorApplet p) throws ProjectorCommandException;
}
class ProjectorCommandException extends Exception {
ProjectorCommandException(String message) {
super(message);
}
}

View file

@ -0,0 +1,5 @@
class ProjectorCommandException extends Exception {
ProjectorCommandException(String message) {
super(message);
}
}

View file

@ -1,3 +1,5 @@
package oldfiles;
class EuglenaCounter {
int roiX, roiY, roiWidth, roiHeight, lastMillis, avgTime;

View file

@ -1,4 +1,4 @@
/*
package oldfiles;/*
Previously implemented programs which we need to redo using classes
case 2 : // Starts clear program
clearScreen();