GENERATEME FM Glitch Art Processing

2 min read 4 months ago
Published on Aug 19, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

This tutorial will guide you through using the GENERATEME FM code in the Processing software to create captivating glitch art. Whether you're a beginner or an experienced artist, this step-by-step guide will help you leverage the power of color spaces and troubleshoot common issues.

Step 1: Download and Install Processing

  1. Visit the Processing website at processing.org.
  2. Download Processing version 2, as it is the recommended version for this tutorial.
  3. Install the software by following the on-screen instructions for your operating system.

Step 2: Access the GENERATEME Code

  1. Go to the GENERATEME GitHub repository at GitHub - tsulej/GenerateMe.
  2. Download the code files by clicking on the green "Code" button and selecting "Download ZIP."
  3. Extract the downloaded ZIP file to a location on your computer.

Step 3: Set Up Your Processing Environment

  1. Open the Processing software.
  2. Create a new sketch by navigating to File > New.
  3. Copy the contents of the GENERATEME code files and paste them into your new sketch.

Step 4: Experiment with Color Spaces

  1. The code can work with 16 different color spaces, including RGB, LUV, and HWB.
  2. To change the color space, locate the section in the code where the color space is defined.
  3. Modify the code to use LUV for vibrant colors:
    colorMode(LUV);
    
  4. Run the sketch to see how the color changes affect the output.

Step 5: Troubleshoot Common Issues

  • If you encounter the error "the field PApplet.sketchPath is not visible":
    1. Replace sketchPath with SketchPath() in the code.
    2. Rerun the sketch to check if the issue is resolved.

Step 6: Save and Share Your Artwork

  1. Once satisfied with your glitch art, save your sketch by navigating to File > Save.
  2. Export your artwork by selecting File > Export Application or by saving your canvas image using the save function in the code:
    save("myArtwork.png");
    

Conclusion

You've now learned how to download and set up Processing, access the GENERATEME code, experiment with various color spaces, troubleshoot common errors, and save your glitch art creations. Explore further by trying different color spaces and modifying the code to create unique visual effects. Happy creating!