N-gones: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
<form><textarea id="inputtext" rows=12 cols=35 wrap="off" style="width:600px;"> | <form><textarea id="inputtext" rows=12 cols=35 wrap="off" style="width:600px;"> | ||
function n_eck(ne,sz) { | function n_eck(ne,sz) { | ||
Line 27: | Line 25: | ||
</html> | </html> | ||
===Output=== | ===Output=== | ||
< | <jsxgraph box="box" width="600" height="600"> | ||
var brd = JXG.JSXGraph.initBoard('box', {boundingbox: [-300, 300, 300, -300]}); | |||
var brd = JXG.JSXGraph.initBoard('box', { | |||
var t = brd.createElement('turtle',[],{fillColor:'yellow'}); | var t = brd.createElement('turtle',[],{fillColor:'yellow'}); | ||
function run() { | function run() { | ||
Line 43: | Line 40: | ||
} | } | ||
run(); | run(); | ||
</ | </jsxgraph> | ||
* [[Slow version]] | * [[Slow version]] |
Revision as of 09:55, 8 June 2011
Output
References
This example is from