<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://jsxgraph.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=TomBerend</id>
	<title>JSXGraph Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://jsxgraph.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=TomBerend"/>
	<link rel="alternate" type="text/html" href="https://jsxgraph.org/wiki/index.php?title=Special:Contributions/TomBerend"/>
	<updated>2026-04-05T23:19:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://jsxgraph.org/wiki/index.php?title=Talk:Fill_the_intersection_area_of_two_circles&amp;diff=7670</id>
		<title>Talk:Fill the intersection area of two circles</title>
		<link rel="alternate" type="text/html" href="https://jsxgraph.org/wiki/index.php?title=Talk:Fill_the_intersection_area_of_two_circles&amp;diff=7670"/>
		<updated>2024-07-18T19:05:17Z</updated>

		<summary type="html">&lt;p&gt;TomBerend: Created page with &amp;quot;I think this page should be deleted.  A 3-line version of this construction is found at  https://jsxgraph.org/wiki/index.php?title=Intersection_of_circles&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I think this page should be deleted.  A 3-line version of this construction is found at &lt;br /&gt;
https://jsxgraph.org/wiki/index.php?title=Intersection_of_circles&lt;/div&gt;</summary>
		<author><name>TomBerend</name></author>
	</entry>
	<entry>
		<id>https://jsxgraph.org/wiki/index.php?title=Intersection_of_curves_II&amp;diff=7669</id>
		<title>Intersection of curves II</title>
		<link rel="alternate" type="text/html" href="https://jsxgraph.org/wiki/index.php?title=Intersection_of_curves_II&amp;diff=7669"/>
		<updated>2024-07-18T19:00:12Z</updated>

		<summary type="html">&lt;p&gt;TomBerend: simplified JSX.Math.Clip to use curveintersection&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;jsxgraph box=&amp;quot;jxgbox&amp;quot; width=&amp;quot;600&amp;quot; height=&amp;quot;600&amp;quot;&amp;gt;&lt;br /&gt;
   var board = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;, {&lt;br /&gt;
        axis:true,&lt;br /&gt;
        boundingbox:[-5, 5, 5, -5]&lt;br /&gt;
    });&lt;br /&gt;
&lt;br /&gt;
    var curve1 = board.create(&#039;curve&#039;, [&lt;br /&gt;
            [-3, 3, 0, -3],&lt;br /&gt;
            [3, 3, 0, 3]&lt;br /&gt;
        ],&lt;br /&gt;
        {strokeColor: &#039;black&#039;, fillColor: &#039;none&#039;, fillOpacity: 0.8});&lt;br /&gt;
&lt;br /&gt;
    var curve2 = board.create(&#039;polygon&#039;, [[3, 4], [-4, 0], [-4, 4]],&lt;br /&gt;
            {strokeColor: &#039;blue&#039;, fillColor: &#039;red&#039;, fillOpacity: 0.3});&lt;br /&gt;
&lt;br /&gt;
    var clip = board.create(&#039;curveintersection&#039;, [curve1, curve2], &lt;br /&gt;
            {strokeWidth: 3, fillColor: &#039;yellow&#039;, fillOpacity: 0.6 });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    board.update();&lt;br /&gt;
&amp;lt;/jsxgraph&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The underlying JavaScript code==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
   var board = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;, {&lt;br /&gt;
        axis:true,&lt;br /&gt;
        boundingbox:[-5, 5, 5, -5]&lt;br /&gt;
    });&lt;br /&gt;
&lt;br /&gt;
    var curve1 = board.create(&#039;curve&#039;, [&lt;br /&gt;
            [-3, 3, 0, -3],&lt;br /&gt;
            [3, 3, 0, 3]&lt;br /&gt;
        ],&lt;br /&gt;
        {strokeColor: &#039;black&#039;, fillColor: &#039;none&#039;, fillOpacity: 0.8});&lt;br /&gt;
&lt;br /&gt;
    var curve2 = board.create(&#039;polygon&#039;, [[3, 4], [-4, 0], [-4, 4]],&lt;br /&gt;
            {strokeColor: &#039;blue&#039;, fillColor: &#039;red&#039;, fillOpacity: 0.3});&lt;br /&gt;
&lt;br /&gt;
    var clip = board.create(&#039;curveintersection&#039;, [curve1, curve2], &lt;br /&gt;
            {strokeWidth: 3, fillColor: &#039;yellow&#039;, fillOpacity: 0.6 });&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Examples]]&lt;br /&gt;
[[Category:Curves]]&lt;/div&gt;</summary>
		<author><name>TomBerend</name></author>
	</entry>
	<entry>
		<id>https://jsxgraph.org/wiki/index.php?title=Intersection_of_functiongraphs&amp;diff=7668</id>
		<title>Intersection of functiongraphs</title>
		<link rel="alternate" type="text/html" href="https://jsxgraph.org/wiki/index.php?title=Intersection_of_functiongraphs&amp;diff=7668"/>
		<updated>2024-07-18T18:54:05Z</updated>

		<summary type="html">&lt;p&gt;TomBerend: Simplify from JSX.Math.Clip to curveintersection, but also the old code shaded the WRONG area.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;jsxgraph box=&amp;quot;jxgbox&amp;quot; width=&amp;quot;600&amp;quot; height=&amp;quot;600&amp;quot;&amp;gt;&lt;br /&gt;
var board = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;, {&lt;br /&gt;
    axis:true,&lt;br /&gt;
    boundingbox:[-5, 10, 10, -5]&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
var curve1 = board.create(&#039;functiongraph&#039;, [&#039;x^2-2&#039;], {strokeColor: &#039;blue&#039;, fixed: false});&lt;br /&gt;
var curve2 = board.create(&#039;functiongraph&#039;, [&#039;4/x&#039;, 0.001, 20], {strokeColor: &#039;black&#039;, fixed: false});&lt;br /&gt;
var clip = board.create(&#039;curveintersection&#039;, [curve1, curve2], { strokeWidth: 2, fillColor: &#039;yellow&#039;, fillOpacity: 0.3 });&lt;br /&gt;
&amp;lt;/jsxgraph&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The underlying JavaScript code==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var board = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;, {&lt;br /&gt;
    axis:true,&lt;br /&gt;
    boundingbox:[-5, 10, 10, -5]&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
var curve1 = board.create(&#039;functiongraph&#039;, [&#039;x^2-2&#039;], {strokeColor: &#039;blue&#039;, fixed: false});&lt;br /&gt;
var curve2 = board.create(&#039;functiongraph&#039;, [&#039;4/x&#039;, 0.001, 20], {strokeColor: &#039;black&#039;, fixed: false});&lt;br /&gt;
&lt;br /&gt;
var clip = board.create(&#039;curveintersection&#039;, [curve1, curve2], &lt;br /&gt;
         {strokeWidth: 2, fillColor: &#039;yellow&#039;, fillOpacity: 0.3 });&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Examples]]&lt;br /&gt;
[[Category:Curves]]&lt;/div&gt;</summary>
		<author><name>TomBerend</name></author>
	</entry>
	<entry>
		<id>https://jsxgraph.org/wiki/index.php?title=Intersection_of_circles&amp;diff=7667</id>
		<title>Intersection of circles</title>
		<link rel="alternate" type="text/html" href="https://jsxgraph.org/wiki/index.php?title=Intersection_of_circles&amp;diff=7667"/>
		<updated>2024-07-18T18:46:54Z</updated>

		<summary type="html">&lt;p&gt;TomBerend: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;jsxgraph box=&amp;quot;jxgbox&amp;quot; width=&amp;quot;600&amp;quot; height=&amp;quot;600&amp;quot;&amp;gt;&lt;br /&gt;
var board = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;, {&lt;br /&gt;
    axis:true,&lt;br /&gt;
    boundingbox:[-5, 5, 5, -5]&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
var c1 = board.create(&#039;circle&#039;, [[-1, 1.5], 3]);&lt;br /&gt;
var c2 = board.create(&#039;circle&#039;, [[1, -1.5], 3]);&lt;br /&gt;
var clip = board.create(&#039;curveintersection&#039;, [c1, c2], &lt;br /&gt;
          { strokeWidth: 2, fillColor: &#039;yellow&#039;, fillOpacity: 0.3 });&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/jsxgraph&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The underlying JavaScript code==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var board = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;, {&lt;br /&gt;
    axis:true,&lt;br /&gt;
    boundingbox:[-5, 5, 5, -5]&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
var c1 = board.create(&#039;circle&#039;, [[-1, 1.5], 3]);&lt;br /&gt;
var c2 = board.create(&#039;circle&#039;, [[1, -1.5], 3]);&lt;br /&gt;
var clip = board.create(&#039;curveintersection&#039;, [c1, c2], &lt;br /&gt;
          { strokeWidth: 2, fillColor: &#039;yellow&#039;, fillOpacity: 0.3 });&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Examples]]&lt;br /&gt;
[[Category:Geometry]]&lt;/div&gt;</summary>
		<author><name>TomBerend</name></author>
	</entry>
	<entry>
		<id>https://jsxgraph.org/wiki/index.php?title=Intersection_of_curves_I&amp;diff=7666</id>
		<title>Intersection of curves I</title>
		<link rel="alternate" type="text/html" href="https://jsxgraph.org/wiki/index.php?title=Intersection_of_curves_I&amp;diff=7666"/>
		<updated>2024-07-18T18:42:38Z</updated>

		<summary type="html">&lt;p&gt;TomBerend: replaced complicated call to JSX.Math.Clip with simple call to &amp;#039;curveintersection&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;jsxgraph box=&amp;quot;jxgbox&amp;quot; width=&amp;quot;600&amp;quot; height=&amp;quot;600&amp;quot;&amp;gt;&lt;br /&gt;
var board = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;, {&lt;br /&gt;
    axis:true,&lt;br /&gt;
    boundingbox:[-15, 10, 10, -10]&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
var p = [];&lt;br /&gt;
p.push(board.create(&#039;point&#039;, [0, -5]));&lt;br /&gt;
p.push(board.create(&#039;point&#039;, [-5, 0]));&lt;br /&gt;
p.push(board.create(&#039;point&#039;, [-3, 3]));&lt;br /&gt;
&lt;br /&gt;
var curve1 = board.create(&#039;ellipse&#039;, p, {strokeColor: &#039;black&#039;});&lt;br /&gt;
&lt;br /&gt;
var curve2 = board.create(&#039;curve&#039;, [function(phi){return 4 * Math.cos(2*phi);}, &lt;br /&gt;
                                    [0, 0], &lt;br /&gt;
                                    0, 2 * Math.PI],&lt;br /&gt;
                      {curveType:&#039;polar&#039;, strokeColor: &#039;blue&#039;, strokewidth:1});&lt;br /&gt;
&lt;br /&gt;
var clip = board.create(&#039;curveintersection&#039;, [curve1, curve2], &lt;br /&gt;
                      { strokeWidth: 3, fillColor: &#039;yellow&#039;, fillOpacity: 0.3 });&lt;br /&gt;
&amp;lt;/jsxgraph&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The underlying JavaScript code==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var board = JXG.JSXGraph.initBoard(&#039;jxgbox&#039;, {&lt;br /&gt;
    axis:true,&lt;br /&gt;
    boundingbox:[-15, 10, 10, -10]&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
var p = [];&lt;br /&gt;
p.push(board.create(&#039;point&#039;, [0, -5]));&lt;br /&gt;
p.push(board.create(&#039;point&#039;, [-5, 0]));&lt;br /&gt;
p.push(board.create(&#039;point&#039;, [-3, 3]));&lt;br /&gt;
&lt;br /&gt;
var curve1 = board.create(&#039;ellipse&#039;, p, {strokeColor: &#039;black&#039;});&lt;br /&gt;
&lt;br /&gt;
var curve2 = board.create(&#039;curve&#039;, [function(phi){return 4 * Math.cos(2*phi); }, &lt;br /&gt;
                                    [0, 0], &lt;br /&gt;
                                    0, 2 * Math.PI],&lt;br /&gt;
                      {curveType:&#039;polar&#039;, strokeColor: &#039;blue&#039;, strokewidth:1});&lt;br /&gt;
&lt;br /&gt;
var clip = board.create(&#039;curveintersection&#039;, [curve1, curve2], &lt;br /&gt;
                      { strokeWidth: 3, fillColor: &#039;yellow&#039;, fillOpacity: 0.3 });&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Examples]]&lt;br /&gt;
[[Category:Curves]]&lt;/div&gt;</summary>
		<author><name>TomBerend</name></author>
	</entry>
</feed>