File:Kochpy2.svg
Summary
| Description |
Français : Dessin du triangle de Von Koch |
| Date | 1 January 2012 (original upload date) |
| Source | Own work |
| Author | Alain Busser at French Wikibooks |
| SVG development |
Source code
Made with this Python script:
from turtle import *
from re import *
programme='AmAmAm'
for n in range(4):
programme=sub('A','ApAmApA',programme)
programme=sub('A','fd(2); ',programme)
programme=sub('m','rt(120); ',programme)
programme=sub('p','lt(60); ',programme)
exec(programme)
Licensing
Alain Busser at French Wikibooks, the copyright holder of this work, hereby publishes it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 1.0 Generic license.
Attribution:
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you alter, transform, or build upon this work, you must distribute the resulting work under the same license as the original.
Original upload log
The original description page was here. All following user names refer to fr.wikibooks.
| Date/Time | Dimensions | User | Comment |
|---|---|---|---|
| 2012-01-01 16:26 | 322×352 (12819 bytes) | Alain Busser | Made with this Python script: <syntaxhighlight copy line lang="python"> from turtle import * from re import * programme='AmAmAm' for n in range(4): programme=sub('A','ApAmApA',programme) programme=sub('A','fd(2); ',programme) programme=sub('m','rt(120); ',program |