Fun Demonstration of Triangle Side Relationships Using Turtle Graphics
2020-06-14 10:56
This applet uses the Turtle graphics feature in GeoGebra to provide an engaging demonstration of the relationships between the three sides of a triangle. Through dynamic construction and interactive buttons, users can visually observe changes in side lengths, angles, and the turtle's movement paths, gaining a deeper understanding of basic triangle properties and geometric construction principles.
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.587.0" app="classic" platform="w" id="960e0ca7-06b7-44a2-887a-9da48b05f71d" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="912" height="550" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="1" orientation="1" />
</panes>
<views>
<view id="4" toolbar="0 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="true" location="1,1" size="300" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 1009 || 66 68 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="300" window="100,100,600,400" />
<view id="512" toolbar="0 | 1 501 5 19 , 67 | 2 15 45 18 , 7 37 | 514 3 9 , 13 44 , 47 | 16 51 | 551 550 11 , 20 22 21 23 , 55 56 57 , 12 | 69 | 510 511 , 512 513 | 533 531 , 534 532 , 522 523 , 537 536 , 535 | 521 520 | 36 , 38 49 560 | 571 30 29 570 31 33 | 17 | 540 40 41 42 , 27 28 35 , 6 , 502" visible="false" inframe="false" stylebar="true" location="1,1" size="495" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="3" size="912" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="3" size="208" window="100,100,600,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="128" visible="false" inframe="false" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="4097" visible="false" inframe="false" stylebar="true" location="1" size="365" window="380,165,700,549" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="43" visible="false" inframe="false" stylebar="false" location="1" size="450" window="50,50,500,500" />
</views>
<toolbar show="false" items="0 39 73 62 | 1 501 67 , 5 19 , 72 75 76 | 2 15 45 , 18 65 , 7 37 | 4 3 8 9 , 13 44 , 58 , 47 | 16 51 64 , 70 | 10 34 53 11 , 24 20 22 , 21 23 | 55 56 57 , 12 | 36 46 , 38 49 50 , 71 14 68 | 30 29 54 32 31 33 | 25 17 26 60 52 61 | 40 41 42 , 27 28 35 , 6" position="1" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="14"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="911" height="548"/>
<coordSystem xZero="83.516140635033" yZero="313.9624650379619" scale="215.90873172279697" yscale="215.90873172279692"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<bgColor r="179" g="216" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="0"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="2" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="point" label="A">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-20" y="-10"/>
<labelMode val="3"/>
<animation step="1" speed="1" type="0" playing="false"/>
<coords x="1.8224545909989267" y="0.7455116046192155" z="1"/>
<pointSize val="1"/>
<pointStyle val="0"/>
<caption val="$\Large %n$"/>
</element>
<command name="Point">
<input a0="xAxis"/>
<output a0="C"/>
</command>
<element type="point" label="C">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="5" y="27"/>
<labelMode val="3"/>
<animation step="1" speed="1" type="0" playing="false"/>
<coords x="2.146665656672141" y="0" z="1"/>
<pointSize val="1"/>
<pointStyle val="0"/>
<caption val="$\Large %n$"/>
</element>
<command name="Intersect">
<input a0="xAxis" a1="yAxis"/>
<output a0="B"/>
</command>
<element type="point" label="B">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-33" y="35"/>
<labelMode val="3"/>
<coords x="0" y="0" z="1"/>
<pointSize val="1"/>
<pointStyle val="0"/>
<caption val="$\Large %n$"/>
</element>
<command name="Polygon">
<input a0="A" a1="B" a2="C"/>
<output a0="t1" a1="c" a2="a" a3="b"/>
</command>
<element type="polygon" label="t1">
<lineStyle thickness="2" type="0" typeHidden="1" opacity="178"/>
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment" label="c">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.7455116046192155" y="-1.8224545909989267" z="0"/>
<lineStyle thickness="2" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="a">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0" y="2.146665656672141" z="0"/>
<lineStyle thickness="2" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="b">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-0.7455116046192155" y="-0.32421106567321445" z="1.60036415828661"/>
<lineStyle thickness="2" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Angle">
<input a0="B" a1="A" a2="C"/>
<output a0="α"/>
</command>
<element type="angle" label="α">
<angleStyle val="0"/>
<value val="1.592708076732563"/>
<show object="false" label="true" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
</element>
<command name="Angle">
<input a0="A" a1="C" a2="B"/>
<output a0="γ"/>
</command>
<element type="angle" label="γ">
<angleStyle val="0"/>
<value val="1.1605837209276322"/>
<show object="false" label="true" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
</element>
<command name="Angle">
<input a0="C" a1="B" a2="A"/>
<output a0="β"/>
</command>
<element type="angle" label="β">
<angleStyle val="0"/>
<value val="0.38830085592959845"/>
<show object="false" label="true" ev="4"/>
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
</element>
<element type="button" label="button1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="620" y="400"/>
<labelMode val="3"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="TurtleLeft[海龟2,β]
TurtleForward(海龟2,c)
TurtleRight[海龟2,180°-α]
TurtleForward(海龟2,b)
TurtleForward(海龟1,a)
StartAnimation(海龟1,海龟2)"/>
<font serif="false" sizeM="2" size="14" style="0"/>
<caption val="演示"/>
</element>
<expression label="text1" exp=""哪只海龟所走的路程更短?""/>
<element type="text" label="text1">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="192" b="203" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="true" sizeM="2" size="14" style="0"/>
<startPoint x="0.2828598626326255" y="1.2017795049601754" z="1"/>
</element>
<element type="point" label="F">
<show object="false" label="false" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="2.085104165962301" y="-0.00793175407207053" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="G">
<show object="false" label="false" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="2.5083080308435006" y="-0.00793175407207053" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="image" label="pic2">
<file name="c54212448faf08abe834671bae89c7c5/红旗_高亮.png"/>
<inBackground val="false"/>
<startPoint number="0" exp="F"/>
<startPoint number="1" exp="G"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="button" label="button2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="620" y="450"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<ggbscript val="Delete(海龟1)
Delete(海龟2)
海龟1=Turtle( )
海龟2=Turtle( )"/>
<font serif="false" sizeM="2" size="14" style="0"/>
<caption val="复位"/>
</element>
<command name="Turtle">
<input/>
<output a0="海龟1"/>
</command>
<element type="turtle" label="海龟1">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="0" z="1"/>
<pointSize val="0"/>
<pointStyle val="0"/>
</element>
<command name="Turtle">
<input/>
<output a0="海龟2"/>
</command>
<element type="turtle" label="海龟2">
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="0" z="1"/>
<pointSize val="0"/>
<pointStyle val="0"/>
</element>
<element type="point" label="D">
<show object="false" label="false"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="3.064664522095273" y="-1.024912393289155" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="E">
<show object="false" label="false"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="3.783404057135104" y="-1.024912393289155" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="image" label="pic1">
<file name="2279c9e420a3acd951c6013e9077eff6/公众号二维码.png"/>
<inBackground val="false"/>
<startPoint number="0" exp="D"/>
<startPoint number="1" exp="E"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="point" label="H">
<show object="false" label="false"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="3.0737199968583564" y="-0.163437275928902" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="point" label="I">
<show object="false" label="false"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="3.792459531898187" y="-0.163437275928902" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<element type="image" label="pic3">
<file name="4955a4889529ee964c06d47930f1d69e/7214717b82fa1de0558863fac64ab671.png"/>
<inBackground val="false"/>
<startPoint number="0" exp="H"/>
<startPoint number="1" exp="I"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<expression label="text2" exp=""制作教程:""/>
<element type="text" label="text2">
<show object="true" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<bgColor r="255" g="255" b="255" alpha="255"/>
<layer val="0"/>
<labelMode val="0"/>
<font serif="true" sizeM="2" size="14" style="0"/>
<startPoint x="3.105404093734357" y="0.6343535249598274" z="1"/>
</element>
</construction>
</geogebra>