You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
473 B
Java
26 lines
473 B
Java
import processing.core.PApplet;
|
|
|
|
|
|
class ProjectorApplet extends PApplet {
|
|
final int projectorScreenNumber = 2;
|
|
|
|
final static int centerX = 860;
|
|
final static int centerY = 540;
|
|
|
|
public void settings() {
|
|
fullScreen(P2D, this.projectorScreenNumber);
|
|
}
|
|
|
|
@Override
|
|
public void setup() {
|
|
clear();
|
|
}
|
|
|
|
@Override
|
|
public void draw() {
|
|
background(50);
|
|
fill(255);
|
|
ellipse(mouseX, mouseY, 10, 10);
|
|
}
|
|
}
|