LOGO<\/a>\/Turtle mode to LiteralDraw.<\/p>\nFriday<\/h1>\n
Chien lost a complex LiteralDraw drawing yesterday for he didn’t save it. Discussions around the missing fishing net when you quit without saving. Is LD a software like the others, or a more rough tool, an in-between commandline and GUI tool?<\/p>\n
LD was modified yesterday in two interesting ways. <\/p>\n
For an even more “direct” or “straightforward” mode : no need for an end anymore.
\nSo <\/p>\n
\r\nline 40 60\r\n<\/code><\/pre>\nwill not wait for a<\/p>\n
\r\nend\r\n<\/code><\/pre>\nto draw the line (of course the end instruction is still very useful to separate shapes)<\/p>\n
For our rides in the city hunting letters shapes, we introduced the turn instruction, with right, straight, left arguments, the distance and a nuance (a deviation from the main direction)<\/p>\n
Maybe more important is the introduction of variables, with the var instruction! So we’re now able to write <\/p>\n
\r\nchange turn tourne\r\nvar 150 unpeu\r\nvar -10 presque\r\n<\/code><\/pre>\nthen<\/p>\n
\r\ntourne R unpeu presque\r\n<\/code><\/pre>\nwhich is not real natural language programming, but which sounds quite poetical for me.<\/p>\n
Pushing it a bit, to go to typed variables to be able to <\/p>\n
\r\ntourne \u00e0droite unpeu presque\r\n<\/code><\/pre>\nor<\/p>\n
\r\ntourne \u00e0-droite un-peu presque\r\n<\/code><\/pre>\nor even<\/p>\n
\r\ntourne \u00e0 droite un peu presque\r\n<\/code><\/pre>\nusing non-breaking spaces between “un” et “peu” as a trick. So we introduced number and string as replacements for var. LD is more and more deeply connected to language.<\/p>\n
The extention of OSP-DIN is a neverending work.<\/p>\n
Sometimes we’ve used previous week’s dictionary<\/p>\n
\r\nchange line d\u00f2ng\r\nchange stroke b\u00fat\r\nchange end tr?\u2014l?i\r\nchange move di\u2014chuy?n\r\nchange cubic cong\r\nchange close ?ong\r\nchange fill ?i?n\u2014v\u00e0o\r\nchange transform bi?n\u2014??i\r\nchange text v?n\u2014b?n\r\nchange font ki?u\u2014m\u00e2u\r\n\r\nbi?n\u2014??i 0.6 0 0 0.6 0 -300 \r\nb\u00fat 180 0 200 1\r\n?i?n\u2014v\u00e0o 250 100 100\r\ndi\u2014chuy?n 135.00 732.00 \r\ncong 134.00 691.00 178.00 660.00 241.00 659.00 \r\ncong 290.00 661.00 328.00 701.00 328.00 755.00 \r\ncong 378.00 665.00 441.00 643.00 521.00 677.00 \r\ncong 524.00 681.00 576.00 759.00 497.00 889.00 \r\ncong 496.67 891.67 411.67 960.00 330.00 986.67 \r\ncong 230.00 926.67 163.33 845.00 133.33 735.00 \r\ntr?\u2014l?i\r\n?ong\r\ndi\u2014chuy?n 135.00 732.00 \r\nki?u\u2014m\u00e2u 30 0 0 Alfphabet\r\nv?n\u2014b?n we\r\n<\/code><\/pre>\n