Jump to content

Draw a pixel: Difference between revisions

XPL0 was designed from day one for easy graphics.
m (→‎{{header|Robotic}}: Typos fixed and additional comment in code made)
(XPL0 was designed from day one for easy graphics.)
Line 1,350:
plot 0 100,100,5
end</lang>
 
=={{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.)
<lang XPL0>[SetFB(320, 240, 24); Point(100, 100, $FF0000)]
</lang>
 
=={{header|ZX Spectrum Basic}}==
772

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.