# Difference between revisions of "A 5-circle incidence theorem"

From JSXGraph Wiki

A WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 24: | Line 24: | ||

var attB = {name:'',strokeColor:'#EA0000',fillColor:'#EA0000'}; | var attB = {name:'',strokeColor:'#EA0000',fillColor:'#EA0000'}; | ||

for (k = 0; k < 5; k++) { | for (k = 0; k < 5; k++) { | ||

− | B[k] = brd.create('intersection', [s[k], s[(k-1)%5], 0], attB); | + | B[k] = brd.create('intersection', [s[k], s[(k-1+5)%5], 0], attB); |

} | } | ||

</jsxgraph> | </jsxgraph> |