IFD:All Hail The Pixels/ProcessingSketches: Difference between revisions

From Medien Wiki
(fixed the lang attribute)
Line 415: Line 415:
  are used to modify the grid layout.
  are used to modify the grid layout.
   
   
  NOTICE: Make sure the image "layout.png" is placed in the "data" folder of
  NOTICE: Make sure the image "layout_pixels_example.png" is placed in the "data" folder of
  this sketch!
  this sketch!
   
   
Line 434: Line 434:
   // Load the actual image file from the data folder and
   // Load the actual image file from the data folder and
   // assign it to the img variable
   // assign it to the img variable
   img = loadImage("layout.png");
   img = loadImage("layout_pixels_example.png");
    
    
   // How many pixels did we load?
   // How many pixels did we load?