Hi Hilare,
Thank you very much for that and sorry for the delay in responding. :)
The French documentation had instructions for creating a parallelogram
using two different techniques. I adapted the technique that uses
circular constraints to create an equilateral triangle:
Here is the code I wrote:
| figure o m n p mn pm circle_a circle_b |
figure := DrGeoFigure new axesOn gridOn scale: 50.
m := (figure point: 2 @ 0) name: 'M'.
n := (figure point: -2 @ 0) name: 'N'.
mn := figure segment: m to: n.
circle_a := figure circleCenter: m segment: mn.
circle_a dashed.
circle_b := figure circleCenter: n segment: mn.
circle_b dashed.
o := figure intersectionOf: circle_a and: circle_b.
o name: 'O'.
figure segment: o to: m.
figure segment: o to: n
This code creates an equilateral triangle for me.
I have three questions that will also help me in creating future
sketches. :)
1. How should I modify the code above to create isosceles triangles?
2. Is it possible to make a point have a fixed position? For example,
point M. I only want point N to be movable.
3. Is it possible to draw a segment such as HN from the point N that
is at a certain angle and of certain length?
Thanks.
On Mon, Dec 4, 2023 at 4:38 PM Hilaire Fernandes <hfern@free.fr> wrote:
Hi Nitsh,
You are welcome to ask additional questions.
Hilaire
Le 23/10/2023 à 16:37, Nitish Kumar a écrit :
Hi Hilarie,
I plan on using Dr. Geo to create interactive illustrations for
my educational YouTube videos.
The first one will probably be about triangles, their properties,
and types. :)
Is it alright if I ask further questions when I face any issues?
I am reading the French documentation with help of Google
translate but some things get mistranslated creating confusion.
Thanks,
Nitish.
--
GNU Dr. Geo
http://gnu.org/s/dr-geo/
http://gnu-drgeo.blogspot.com/