Lo script  draw2  consente di disegnare facilmente e di memorizzare con una stringa di pochissimi caratteri un'immagine, in modo più efficiente di draw. È comodo il suo impiego anche per gli insegnanti, per preparare (e registrare) materiali didattici o esercizi.

The  draw2  script allows you to easily draw and store an image using a string of very few characters, more efficiently than draw. Its use is also convenient for teachers, to prepare (and record) teaching materials or exercises.

All'avvio l'immagine è vuota.  Se premo "click" posso far apparire la griglia.
On startup, the image is blank. If I press "click" I can bring up the grid.

Se ad esempio nel box metto M23 traccio un segmento /^ (in salita) di larghezza 2 e altezza 2, se metto U02 traccio un segmento v/ (in discesa) di larghezza 0 e altezza 2.  Se metto le lettere  a, b, c, d  posso spostarmi senza tracciare segmenti. Dopo un numero se voglio posso aggiungere uno spazio bianco o un "a capo". Se voglio vedere il tracciamento devo azionare "click".  X,Y,Z indicano i numeri 10, 11, 12.

For example, if I put M23 in the box I draw a segment /^ (upward) with width 2 and height, if I put U02 I draw a segment v/ (downward) with width 0 and height 2.  If I put the letters  a, ..., h  I can move without drawing segments. After a number if I want I can add a white space or a "new line". If I want to see the tracking I have to activate "click".  X,Y,Z indicate the numbers 10, 11, 12.

m50m50m07n53u53v07 aaaam03m20u03v15 ccccm15 ccccm07m13m43u03m03v43v13 ccv02u20m02v20 ccccv02u20m02v20 aaaaaaaam31v21v12v01u22u20n21n11m11n02 dddddaav12v01u12v30n13n02

ddddm21m12m02n12n21u20u21u12v02v12v21m20 aaaaaaaaaaaam21m12m02n12n21u20u21u12v02v12v21m20 bbbbcu60u60m26 cm30 ddddddccccmY4 cddddaan27n10u11 dddddcu22 bbbbbbbbaaaaaaabbm70m01n11n50u11u01 au01v10n01 aaau01v10n01 bbn12n30u12

vz0 n0z nz0 v0y vy0 n0x nx0 v09 v90 n08 n80 v07 v70 n06 n60 v05 v50 n04 n40 v03 v30 n02 n20 v01 v10

mz0m30 nz0n10 n09m20u09 a n07m20u07 a n0ym20u0y a n05m20u05

v93 m33 nz0 mz0 n27 ux7 m09 vx2
area = (12*3 + 12*7 + 9*10) / 2 = (12*10 + 9*10) / 2 = 21*10/2 = 105
Using this: