Hi Hilaire, Thanks for your clarifications and pointers to documentation. More comments below On 22/09/15 03:41, Hilaire wrote:
I should write again, to avoid confusion, there are two ways for programming in Dr. Geo:
- Dr. Geo script: with Dr. Geo UI helpers you design a Dr. Geo script class and code its behaviour. Script instance(s) is/are plugged in an existing geometric model. Script arguments are math objects selected from the model. The script can do calculus and return it for other use in the model, or it can change objects attribute (both style or math model).
- Dr. Geo Smalltalk sketch are sketch entirely programmed with the dedicated Dr. Geo API. It gives access to unique object and helpers as the plugged point defined with block closure (i.e. the one use on the recursive sequence examples), the plotter, the rulers. Adding new one is in the reach of the user.
We would like to combine both in some sense (thats kind of what geogebra does). For example we would like start by drawing points like the ones in [1] in a canvas, and then program a script which binds two points making them to share its x coordinate and update the canvas where they were drawn when I move a ruler. Is this possible? [1] https://archive.org/details/uniform-movement.png By the way, I was making some minor annotations to the docs you shared via hypothesis[2]. You can find them at [3] [2] https://hypothes.is/ [3] https://via.hypothes.is/http://drgeo.olympe.in/doc/en/drgeo010.html Cheers, Offray