Hilbert curve: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 2: Line 2:
If it is set to level=9 the curve is defined by  
If it is set to level=9 the curve is defined by  
262 144 points - so be careful if you are using the Internet Explorer.
262 144 points - so be careful if you are using the Internet Explorer.
 
<html>
   <form>
   <form>
   Set the iteration level:
   Set the iteration level:
Line 18: Line 18:
   <input type="button" value=" set " onClick="doIt()" style='margin:1em'>
   <input type="button" value=" set " onClick="doIt()" style='margin:1em'>
   </form>
   </form>
</html>


<html>
<html>

Revision as of 17:06, 28 November 2008

The famous space filling curve drawn with JavaScript. If it is set to level=9 the curve is defined by 262 144 points - so be careful if you are using the Internet Explorer.

Set the iteration level: