public void setup() {
        size(1200, 800, OPENGL);
        noFill();
        colorMode(HSB, 100);

        sp = new ArrayList<Spinner>();
        for (int i = 0; i < initialAgents; i++) {
            if (i < agents/2) {
                sp.add(i, new Spinner(maxId,0,initialE));
            } else {
                sp.add(i, new Spinner(maxId,1,initialE));
            }
            maxId++;
        }

        globalProperties = new GlobalProperties(width, height);
    }