Advertisement
pteacher

Untitled

Feb 2nd, 2022
1,217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.45 KB | None | 0 0
  1. public class Main extends PApplet {
  2.     public void settings() {
  3.         size(600, 400);
  4.         // fullScreen();
  5.         // PRESS ESC TO EXIT FULLSCREEN
  6.     }
  7.  
  8.     public void setup() {
  9.         textSize(30);
  10.         textAlign(CENTER);
  11.         background(152,190,100);
  12.     }
  13.  
  14.     public void draw() {
  15.         text("Hello world!", width / 2, height / 2);
  16.     }
  17.  
  18.     public static void main(String[] args) {
  19.         PApplet.main("Main");
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement