Community Programming

Let's create programs together by adding and combining simple program functions that the community can use to build their own programs. They are not ordered. The names will be given below the code. Please try to setup the code so that it can make sense to others. After you post a function or list I will add them to this post. Thank you for all feedback!

Function list:

void setup() {
    size(200, 200);
    if (frame != null) {
        frame.setResizable(true);
    }
}

Re-sizing a window


{
    textAlign(CENTER);
}

Aligning text to center


Comments

Sign In or Register to comment.