<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://jsxgraph.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Thales_inscribed_angle_theorem</id>
	<title>Thales inscribed angle theorem - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://jsxgraph.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Thales_inscribed_angle_theorem"/>
	<link rel="alternate" type="text/html" href="https://jsxgraph.org/wiki/index.php?title=Thales_inscribed_angle_theorem&amp;action=history"/>
	<updated>2026-04-06T01:54:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://jsxgraph.org/wiki/index.php?title=Thales_inscribed_angle_theorem&amp;diff=6200&amp;oldid=prev</id>
		<title>Sahand: /* The underlying JavaScript code */</title>
		<link rel="alternate" type="text/html" href="https://jsxgraph.org/wiki/index.php?title=Thales_inscribed_angle_theorem&amp;diff=6200&amp;oldid=prev"/>
		<updated>2014-01-26T22:17:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;The underlying JavaScript code&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:17, 26 January 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===The underlying JavaScript code===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===The underlying JavaScript code===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;var brd = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;,{boundingbox:[-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8&lt;/del&gt;,&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8&lt;/del&gt;,&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8&lt;/del&gt;,-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8&lt;/del&gt;]});&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;var brd = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;,{boundingbox:[-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/ins&gt;,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/ins&gt;,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/ins&gt;,-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/ins&gt;]});&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;o1 = brd.create(&amp;#039;point&amp;#039;, [-2, 2], {name: &amp;#039;O1&amp;#039;});&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;o1 = brd.create(&amp;#039;point&amp;#039;, [-2, 2], {name: &amp;#039;O1&amp;#039;});&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;o2 = brd.create(&amp;#039;point&amp;#039;, [3, -3], {name: &amp;#039;O2&amp;#039;});&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;o2 = brd.create(&amp;#039;point&amp;#039;, [3, -3], {name: &amp;#039;O2&amp;#039;});&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sahand</name></author>
	</entry>
	<entry>
		<id>https://jsxgraph.org/wiki/index.php?title=Thales_inscribed_angle_theorem&amp;diff=6199&amp;oldid=prev</id>
		<title>Sahand: Created page with &quot;This example demonstrates Thales&#039; inscribed angle theorem. You can move point the &lt;math&gt;P&lt;/math&gt;, or &lt;math&gt;A&lt;/math&gt; and &lt;math&gt;B&lt;/math&gt;. It also demonstrates how to dynamically ge...&quot;</title>
		<link rel="alternate" type="text/html" href="https://jsxgraph.org/wiki/index.php?title=Thales_inscribed_angle_theorem&amp;diff=6199&amp;oldid=prev"/>
		<updated>2014-01-26T22:15:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This example demonstrates Thales&amp;#039; inscribed angle theorem. You can move point the &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt;. It also demonstrates how to dynamically ge...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This example demonstrates Thales&amp;#039; inscribed angle theorem. You can move point the &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt;. It also demonstrates how to dynamically get an angle value in JSXGraph and set a label based on it using hooks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;jsxgraph width=&amp;quot;600&amp;quot; height=&amp;quot;600&amp;quot;&amp;gt;&lt;br /&gt;
var brd = JXG.JSXGraph.initBoard(&amp;#039;jxgbox&amp;#039;,{boundingbox:[-6,6,6,-6]});&lt;br /&gt;
o = brd.create(&amp;#039;point&amp;#039;, [0, 0], {name: &amp;#039;O&amp;#039;});&lt;br /&gt;
c = brd.create(&amp;#039;circle&amp;#039;, [o, 4], {name: &amp;#039;C&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
a = brd.create(&amp;#039;glider&amp;#039;, [3, 0, c], {name: &amp;#039;A&amp;#039;});&lt;br /&gt;
b = brd.create(&amp;#039;glider&amp;#039;, [-3, -3, c], {name: &amp;#039;B&amp;#039;, label:{offset:[-15,0]}});&lt;br /&gt;
p = brd.create(&amp;#039;point&amp;#039;, [-1, 2], {name: &amp;#039;P&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
opts = {strokeColor: &amp;#039;blue&amp;#039;};&lt;br /&gt;
lab = brd.create(&amp;#039;segment&amp;#039;, [a, b], opts);&lt;br /&gt;
&lt;br /&gt;
opts = {strokeColor: &amp;#039;blue&amp;#039;};&lt;br /&gt;
lpb = brd.create(&amp;#039;segment&amp;#039;, [p, b], opts);&lt;br /&gt;
lpa = brd.create(&amp;#039;segment&amp;#039;, [a, p], opts);&lt;br /&gt;
&lt;br /&gt;
op = brd.create(&amp;#039;line&amp;#039;, [o, p], {visible: false});&lt;br /&gt;
&lt;br /&gt;
pp = brd.create(&amp;#039;intersection&amp;#039;, [c, op, 0], {name: &amp;#039;P\&amp;#039;&amp;#039;, label:{offset:[0,15]}});&lt;br /&gt;
opts = {strokeColor: &amp;#039;green&amp;#039;};&lt;br /&gt;
lppb = brd.create(&amp;#039;segment&amp;#039;, [pp, b], opts );&lt;br /&gt;
lppa = brd.create(&amp;#039;segment&amp;#039;, [a, pp], opts);&lt;br /&gt;
opts = {strokeColor: &amp;#039;lightblue&amp;#039;, strokeWidth: &amp;#039;1px&amp;#039;};&lt;br /&gt;
lopp = brd.create(&amp;#039;segment&amp;#039;, [o, pp], opts);&lt;br /&gt;
&lt;br /&gt;
angp = brd.create(&amp;#039;angle&amp;#039;, [b, p, a]);&lt;br /&gt;
angpp = brd.create(&amp;#039;angle&amp;#039;, [b, pp, a]);&lt;br /&gt;
&lt;br /&gt;
var setAngleLabels = function() {&lt;br /&gt;
angp.setLabelText(angp.Value().toFixed(2));&lt;br /&gt;
angpp.setLabelText(angpp.Value().toFixed(2));&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
setAngleLabels();&lt;br /&gt;
brd.addHook(function() { setAngleLabels(); }, &amp;#039;move&amp;#039;);&lt;br /&gt;
&amp;lt;/jsxgraph&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The underlying JavaScript code===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var brd = JXG.JSXGraph.initBoard(&amp;#039;jxgbox&amp;#039;,{boundingbox:[-8,8,8,-8]});&lt;br /&gt;
o1 = brd.create(&amp;#039;point&amp;#039;, [-2, 2], {name: &amp;#039;O1&amp;#039;});&lt;br /&gt;
o2 = brd.create(&amp;#039;point&amp;#039;, [3, -3], {name: &amp;#039;O2&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
p1 = brd.create(&amp;#039;point&amp;#039;, [-3, 5], {name: &amp;#039;P1&amp;#039;});&lt;br /&gt;
p2 = brd.create(&amp;#039;point&amp;#039;, [2, -3], {name: &amp;#039;P2&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
c1 = brd.create(&amp;#039;circle&amp;#039;, [o1, p1]);&lt;br /&gt;
c2 = brd.create(&amp;#039;circle&amp;#039;, [o2, p2]);&lt;br /&gt;
&lt;br /&gt;
m = brd.create(&amp;#039;midpoint&amp;#039;, [o1, o2], {name: &amp;#039;M&amp;#039;});&lt;br /&gt;
lm = brd.create(&amp;#039;line&amp;#039;, [o1, o2], {&amp;#039;strokeWidth&amp;#039;: &amp;#039;1px&amp;#039;, &amp;#039;strokeColor&amp;#039;:&amp;#039;gray&amp;#039;} );&lt;br /&gt;
&lt;br /&gt;
c3 = brd.create(&amp;#039;circle&amp;#039;, [m, o2], {&amp;#039;strokeColor&amp;#039;:&amp;#039;green&amp;#039;, strokeWidth: &amp;#039;1px&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
c4 = brd.create(&amp;#039;circle&amp;#039;, [o1, function() {&lt;br /&gt;
        r1 = c1.Radius();&lt;br /&gt;
        r2 = c2.Radius();&lt;br /&gt;
        if(r1 &amp;gt; r2) {&lt;br /&gt;
            return r1 - r2;&lt;br /&gt;
        } else {&lt;br /&gt;
            return r2 + r1;&lt;br /&gt;
        }&lt;br /&gt;
}], {&amp;#039;strokeColor&amp;#039;: &amp;#039;purple&amp;#039;, strokeWidth: &amp;#039;1px&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
i1 = brd.create(&amp;#039;intersection&amp;#039;, [c3,c4,0],{visible:true});&lt;br /&gt;
i2 = brd.create(&amp;#039;intersection&amp;#039;, [c3,c4,1],{visible:true});&lt;br /&gt;
&lt;br /&gt;
l1 = brd.create(&amp;#039;line&amp;#039;, [o1, i1], {visible: false});&lt;br /&gt;
l2 = brd.create(&amp;#039;line&amp;#039;, [o1, i2], {visible: false});&lt;br /&gt;
&lt;br /&gt;
i3 = brd.create(&amp;#039;intersection&amp;#039;, [c1,l1,0],{visible:true});&lt;br /&gt;
i4 = brd.create(&amp;#039;intersection&amp;#039;, [c1,l2,0],{visible:true});&lt;br /&gt;
&lt;br /&gt;
v1 = brd.create(&amp;#039;arrow&amp;#039;, [o1, i3], {strokeColor: &amp;#039;lightblue&amp;#039;, strokeWidth: &amp;#039;1px&amp;#039;});&lt;br /&gt;
v2 = brd.create(&amp;#039;arrow&amp;#039;, [o1, i4], {strokeColor: &amp;#039;lightblue&amp;#039;, strokeWidth: &amp;#039;1px&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
l3 = brd.create(&amp;#039;line&amp;#039;, [i1, o1], {visible: false});&lt;br /&gt;
l4 = brd.create(&amp;#039;line&amp;#039;, [o1, i2], {visible: false});&lt;br /&gt;
&lt;br /&gt;
t1 = brd.create(&amp;#039;tangent&amp;#039;, [c1, i3], {strokeColor:&amp;#039;darkblue&amp;#039;});&lt;br /&gt;
t2 = brd.create(&amp;#039;tangent&amp;#039;, [c1, i4], {strokeColor:&amp;#039;darkblue&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
t3 = brd.create(&amp;#039;line&amp;#039;, [o2, i1], {strokeColor:&amp;#039;pink&amp;#039;});&lt;br /&gt;
t4 = brd.create(&amp;#039;line&amp;#039;, [o2, i2], {strokeColor:&amp;#039;pink&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Geometry]]&lt;br /&gt;
[[Category:Examples]]&lt;/div&gt;</summary>
		<author><name>Sahand</name></author>
	</entry>
</feed>