The drawings below were generated by graphic primitive functions that ultimately
use a single PIXEL function,
like the one the HP42S has.
The graphic drawing functions:
- draw_line(x0, y0, x1, y1)
- draw_rect(x0, y0, w, h)
- fill_rect(x0, y0, w, h)
- draw_circle(x0, y0, r)
- fill_circle(x0, y0, r)
have been written in Python and then auto-converted to RPN, using the Python to RPN Converter.
These demos and underlying graphic drawing primitive functions
will therefore run on your calculator. At least, its been tested in Free42.
See the Examples section for the full code.
HP42S / Free42
(131 x 16)
DM42
(200 x 120)
(400 x 240)
Notes
-
This simulation is in javascript, which is why you can view it in your browser.
-
See the graphic capabilities of the
DM42 documented in the user manual here.
-
Thanks to
this article which provided the basis of these algorithms.
Related Calculator Stuff
Interested in a modern thermal printer for the Free42 calculator emulator?
Introducing Print42 for Mac and Windows,
which echoes your Free42 calculator virtual tape to a fast, modern thermal printer.
-
Can also be used as a general file log viewer
-
Tail log files and annotate them without affecting them - with screenshots and text - adding context and meaning
-
Quick printing of screenshots and fun quick print utility
-
Can also be used with normal desktop printers
http://www.print42.atug.com