clean up old files
This commit is contained in:
parent
cd714a0274
commit
a8c8240e1d
37 changed files with 237 additions and 174 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,3 @@
|
|||
public interface ProjectorCommand {
|
||||
boolean run(ProjectorApplet p) throws ProjectorCommandException;
|
||||
}
|
||||
|
||||
class ProjectorCommandException extends Exception {
|
||||
ProjectorCommandException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
5
src/ProjectorCommandException.java
Normal file
5
src/ProjectorCommandException.java
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class ProjectorCommandException extends Exception {
|
||||
ProjectorCommandException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
package oldfiles;
|
||||
|
||||
class EuglenaCounter {
|
||||
|
||||
int roiX, roiY, roiWidth, roiHeight, lastMillis, avgTime;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
package oldfiles;/*
|
||||
Previously implemented programs which we need to redo using classes
|
||||
case 2 : // Starts clear program
|
||||
clearScreen();
|
||||
Loading…
Add table
Add a link
Reference in a new issue