HP Forums
Draw with your finger on HP Prime ! - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Draw with your finger on HP Prime ! (/thread-253674.html)



Draw with your finger on HP Prime ! - Mic - 10-23-2013

Hi everybody,

I wrote a little program with it you can draw with your finger on your favourite calculator !

Video :
http://youtu.be/M8cTkd96EK4

Keys :
APPS key : thin pencil
Home key : thick pencil
Vars key : very thick pencil

0: black
1: Green
2: Blue
3: Red
4: Brown
5: Yellow
6: Pink
7: Purple
8: Grey
9: turquoise

Download :
http://mic.nic.free.fr/hp/draw_prime.zip


Re: Draw with your finger on HP Prime ! - steindid - 10-23-2013

Fine !

The emulator have syntax error because 'h' is needed at the end of the hexadecimal color

L1:={#000000h,#26D500h,#0094FFh,#FF0000h,#712A2Ah,#FFD800h,#FF006Eh,#88006Eh,#808080h,#00FFFFh};

DS


Re: Draw with your finger on HP Prime ! - Mic - 10-23-2013

On my emulator and calc, it works without the "h".


Re: Draw with your finger on HP Prime ! - Marcus von Cube, Germany - 10-23-2013

It depends on the default integer base. It's always better to be explicit, i. e. coding #1Ah instead of #1A.


Re: Draw with your finger on HP Prime ! - CompSystems - 10-23-2013

you must include the postfix "h" outside HEX MODE (BIN, OCT)


Re: Draw with your finger on HP Prime ! - Mic - 10-23-2013

ok thank you.