3D Visualization of the Doppler Effect
2020-04-05 14:49
This GeoGebra applet demonstrates a dynamic 3D visualization of the Doppler effect. Using the Sequence command, it generates continuous spherical wavefronts to simulate wave propagation from a moving source in 3D space. Users can interact with buttons and parameters to control the source's velocity, intuitively observing the distribution, superposition, and the compression and stretching of wavele
Loading the GeoGebra board and drawing, please wait…
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.683.0" app="classic" platform="w" id="981F5501-A763-4B78-BD63-6F309805172B" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1896" height="500" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.4330168776371308" orientation="1" />
</panes>
<views>
<view id="4" toolbar="0 || 2020 , 2021 , 2022 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,1" size="300" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 | 1009 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="300" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="3" size="821" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="3" size="335" tab="ALGEBRA" window="100,100,600,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="300" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="300" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="480" 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="743" window="100,100,700,550" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="900" window="50,50,500,500" />
<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="true" inframe="false" stylebar="true" location="1" size="1067" window="100,100,600,400" />
</views>
<toolbar show="false" items="0 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="0"/>
<font size="16"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="821" height="500"/>
<coordSystem xZero="333.5349020591926" yZero="264.6706889234122" scale="0.23559874736126546" yscale="0.23559874736126235"/>
<evSettings axes="false" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<bgColor r="255" g="255" 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>
<uses3D val="true"/>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
<startAnimation val="true"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<euclidianView3D>
<coordSystem xZero="-287.454110498156" yZero="-274.86639426045735" zZero="-165.12480576748703" scale="0.18641131719875717" xAngle="25" zAngle="-67"/>
<evSettings axes="false" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" gridType="3"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="2" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<plate show="true"/>
<bgColor r="255" g="255" b="255"/>
<clipping use="false" show="false" size="1"/>
<projection type="1"/>
</euclidianView3D>
<construction title="多普勒" author="" date="">
<element type="numeric" label="t">
<value val="20.59"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="30" absoluteScreenLocation="true" width="200" x="30" y="50" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="0.01" speed="0.3" type="1" playing="true"/>
</element>
<element type="numeric" label="v">
<value val="20"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-20" max="20" absoluteScreenLocation="true" width="200" x="30" y="130" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
</element>
<element type="numeric" label="v_{2}">
<value val="0"/>
<symbolic val="true" />
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-30" max="30" absoluteScreenLocation="true" width="200" x="30" y="90" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
</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="30" y="167"/>
<labelMode val="3"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="StartAnimation(t,m)
SetCaption(button1,If(m,"停止","启动"))
 SetValue(m,!m)"/>
<font serif="false" sizeM="2" size="16" style="0"/>
<caption val="停止"/>
</element>
<element type="boolean" label="m">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</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="29" y="253"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="0" playing="false"/>
<auxiliary val="true"/>
<ggbscript val="t=0
"/>
<font serif="false" sizeM="2" size="16" style="0"/>
<caption val="复位"/>
</element>
<expression label="A" exp="((v * t), 0, 0)" type="point" />
<element type="point3d" label="A">
<show object="true" label="true" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="411.8" y="0" z="0" w="1"/>
<pointSize val="1"/>
</element>
<command name="Sequence">
<input a0="Sphere[((v * n), 0, 0), (34 * (t - n))]" a1="n" a2="0" a3="30" a4="3"/>
<output a0="l1" randomResult="{x² + y² + z² = 490084.00359999994, (x - 60)² + y² + z² = 357675.76359999995, (x - 120)² + y² + z² = 246075.52360000001, (x - 180)² + y² + z² = 155283.2836, (x - 240)² + y² + z² = 85299.0436, (x - 300)² + y² + z² = 36122.8036, (x - 360)² + y² + z² = 7754.5636, ?, ?, ?, ?}"/>
</command>
<element type="list" label="l1">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.4000000059604645"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<command name="Sequence">
<input a0="Circle[((v * n), 0, 0), (34 * (t - n)), xOyPlane]" a1="n" a2="0" a3="30" a4="3"/>
<output a0="l2" randomResult="{X = (0, 0, 0) + (700.06 cos(t), 700.06 sin(t), 0), X = (60, 0, 0) + (598.06 cos(t), 598.06 sin(t), 0), X = (120, 0, 0) + (496.06 cos(t), 496.06 sin(t), 0), X = (180, 0, 0) + (394.06 cos(t), 394.06 sin(t), 0), X = (240, 0, 0) + (292.06 cos(t), 292.06 sin(t), 0), X = (300, 0, 0) + (190.06 cos(t), 190.06 sin(t), 0), X = (360, 0, 0) + (88.06 cos(t), 88.06 sin(t), 0), ?, ?, ?, ?}"/>
</command>
<element type="list" label="l2">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="1" type="0" typeHidden="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
<angleStyle val="0"/>
</element>
<expression label="B" exp="(800 + (v_{2} * t), 0)" type="point" />
<element type="point" label="B">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="800" y="0" z="1"/>
<pointSize val="3"/>
<pointStyle val="9"/>
</element>
</construction>
</geogebra>