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. Hilaire Le 22/09/2015 10:15, Hilaire a écrit : > Hi, > > What is the exact relation between blue and black points? I guess it > depends on the samples. > You can build a script to constraint the black point depending on the > blue point and the direction, then embed this script on your Dr. Geo sketch. > > However, Dr. Geo Smalltalk sketch[1] fit better your needs, for several > reasons: > > 1. you can import your data samples (100 or 1000 samples, up to you), > 2. do the necessary interpolation calculus from these samples > 3. build up the model using Dr. Geo Smalltalk API > 4. animate with the specific #do: and #update: messages from the API > > Check for documentation[2]. French version is more up to date for Dr. > Geo scripting however in your case Dr. Geo Smalltalk sketch is well > documented in the English documentation, thanks to Edward Cherlin > contribution. > > You can watch Dr. Geo TV[3] on the programming topic. I hope to produce > more step by step video tutorials on Dr. Geo programming, as the recent > ones I announced here a few days ago. However the documentation comes > with several examples easy to understand and the whole API is described. > > Hilaire > > [1] http://drgeo.olympe.in/doc/en/drgeo010.html > [2] http://www.drgeo.eu/community/documentation > [3] http://www.drgeo.eu/screenshot-video > > Le 22/09/2015 04:05, Offray Vladimir Luna Cárdenas a écrit : >> Hi again, >> > -- Dr. Geo http://drgeo.eu http://google.com/+DrgeoEu