Draw a pixel: Difference between revisions

m
Line 1,031:
glpaint glpixel 100 100 [ glpen 1 1 [ glrgb 255 0 0 [ glclear ''
</lang>
 
Note that this single pixel tends to be invisible or almost invisible on "modern" screens. You may wish to change this to use <code>glpen 4 1</code> if this is a problem on your system (though that technically would violate the requirements of this task, since we would not longer be drawing a single red pixel).
 
=={{header|Java}}==
6,951

edits