Draw a pixel: Difference between revisions

Content added Content deleted
(XPL0 was designed from day one for easy graphics.)
No edit summary
Line 1,353: Line 1,353:
=={{header|XPL0}}==
=={{header|XPL0}}==
This is all that's required to plot pixels on the Raspberry Pi version of XPL0, and it can do tens of millions of them per second. (FB = Frame Buffer.)
This is all that's required to plot pixels on the Raspberry Pi version of XPL0, and it can do tens of millions of them per second. (FB = Frame Buffer.)
<lang XPL0>[SetFB(320, 240, 24); Point(100, 100, $FF0000)]
<lang XPL0>[SetFB(320, 240, 24); Point(100, 100, $FF0000)]</lang>
</lang>


=={{header|ZX Spectrum Basic}}==
=={{header|ZX Spectrum Basic}}==