Anonymous
Not logged in
Log in
JSXGraph Wiki
Search
N-gones
From JSXGraph Wiki
Namespaces
Page
Discussion
More
More
Page actions
Read
View source
History
function n_eck(ne,sz) { for(var i=0;i<ne;i++) { t.rt(360/ne); t.fd(sz); } } function mn_eck(ne,sz) { for(var i=0;i<ne;i++) { t.rt(360/ne); n_eck(ne,sz); } } t.cs(); t.setProperty({strokeWidth:4,strokeOpacity:0.6,fillOpacity:0.3}); t.hideTurtle(); mn_eck(36,20);
Output
Slow version
References
This example is from
http://de.wikipedia.org/wiki/Logo_(Programmiersprache)
Categories
:
Examples
Turtle Graphics
Navigation
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Examples
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Printable version
Permanent link
Page information
Page logs
Categories
Categories
Examples
Turtle Graphics