import processing.core.*;
import processing.data.*;
import processing.event.*;
import processing.opengl.*;

import java.util.HashMap;
import java.util.ArrayList;
import java.io.File;
import java.io.BufferedReader;
import java.io.PrintWriter;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;

public class speicalmethods extends PApplet {

ArrayList<Integer> positions = new ArrayList<>();

public void setup() {
    /* size commented out by preprocessor */;
    positions.add(25);
    positions.add(50);
    positions.add(75);
}

public void draw() {
    for (int i = 0; i < positions.size(); i++) {
        ellipse(positions.get(i), positions.get(i), 10, 10);
    }
}

public void mousePressed() {
    positions.add(mouseX);
}


    public void settings() { size(100,100); }

    static public void main(String[] passedArgs) {
        String[] appletArgs = new String[] { "speicalmethods" };
        if (passedArgs != null) {
            PApplet.main(concat(appletArgs, passedArgs));
        } else {
            PApplet.main(appletArgs);
        }
    }
}