dr-geo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dr. Geo] Dr-geo Digest, Vol 41, Issue 3


From: Hilaire Fernandes
Subject: Re: [Dr. Geo] Dr-geo Digest, Vol 41, Issue 3
Date: Sat, 9 Dec 2023 15:39:20 +0100
User-agent: Mozilla Thunderbird

Hi Nitsh,

I am glad you have some use of this documentation. I wrote it for my young students, but it was too demanding for them.

Regarding your questions:

1. you will use tow circle of same radius.

2.

a. On approach is to define the point position within a block:

     sketch point: [0@0]

b. Another approach is to lock it:

| sketch p₁ |,sketch := DrGeoSketch new.,p₁ := sketch point: 0@0.,p₁ lock


3. I am not sure to understand but I will use a circle of center H and of given radius, then set point N on the circle. For a given angle, you miss an angle side, but I will use a rotation to get this effect. I widely used, such code could be factored by adding it as an extension to the DrGeoSketch class.

Hilaire

Le 07/12/2023 à 18:03, Nitish Kumar a écrit :
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/

--
GNU Dr. Geo
http://gnu.org/s/dr-geo/
http://gnu-drgeo.blogspot.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]