USING: images sequences byte-arrays images.viewer ; 16 16 2array >>dim #! dimensions of the image ubyte-components >>component-type #! each image element is an unsigned byte RGB >>component-order #! and the order is red, green, blue 16 16 3 * * iota >byte-array #! make a 16x16x(3 bytes per pixel) array of #! ascending integers dup image-window #! open a window with the image