Processing

Comments Off on Processing

To write “Hello World!” in the Processing programming language, you can follow these steps:

  1. Open a new text file and save it with the .pde extension (Processing Desktop Edition files). You can also use an external code editor like Visual Studio Code for this purpose if preferred.

  2. Type the following code:

    void setup() {
      size(600, 400); // Set window dimensions to 600x400 pixels
    }
    
    void draw() {
      background(255); // Set the background color to white
      textSize(32); // Set font size to 32 pixels
      fill(0); // Set the text color to black
      text("Hello World!", width/2 - 100, height/2 + 75); // Display "Hello World!" centered on the screen
    }
    
  3. Save and run your code by pressing F5 (Windows) or Control+R (macOS). You should see the message “Hello World!” displayed in the center of a white window.

Remember, this code can be executed within Processing Desktop Editor as well as from a dedicated sketch in an online IDE like p5js web editor at https://editor.p5js.org/.

Prompt
young woman, beautiful face, standing, great body, gorgeous figure, long legs, pretty eyes, long hair, learns Processing programming language, beautiful background, magnificent scenery, Odilon Redon style, HD, sharp focus, stunningly beautiful, hyper-detailed, anime artwork, anime style, key visual, vibrant, studio anime, highly detailed

Negative prompt
verybadimagenegative, bad_prompt_version2-neg, easynegative, FastNegativeV2, photo, deformed, black and white, realism, disfigured, low contrast, extra eyes, bad eyes, ugly eyes, imperfect eyes, deformed pupils, deformed iris, cross-eyed, poorly drawn face, bad face, fused face, ugly face, worst face, unrealistic skin texture, out of frame, poorly drawn hands, cloned face, double face, blurry, bad quality

Text model: neural-chat

Image model: ZaxiousXL