set pixels

    Oct 27 2010 | 8:53 am
    I´m looking for an equivalent to the "set(x, y, color)" command in proccesing. Basically it changes the color of any pixel.

    • Oct 27 2010 | 12:54 pm
      Are you using OpenGL or just outputting a matrix to a window?
      In OpenGL you can use a number of ways to draw pixels, look in gl_commands of
      When using matrixes, you can always use the setcell message to matrix. But I don't think it's very efficient when you coloring lots and lots of pixels.
    • Oct 27 2010 | 1:49 pm
      I´m trying to set a pixel with this command "gldrawpixels foo 200 200 2 2" to but I get an error.