Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
laragon /
bin /
python /
python-3.10 /
Lib /
turtledemo /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxrwxrwx
__init__.py
328
B
-rw-rw-rw-
__main__.py
15.09
KB
-rw-rw-rw-
bytedesign.py
4.31
KB
-rw-rw-rw-
chaos.py
1010
B
-rw-rw-rw-
clock.py
3.25
KB
-rw-rw-rw-
colormixer.py
1.36
KB
-rw-rw-rw-
forest.py
3
KB
-rw-rw-rw-
fractalcurves.py
3.53
KB
-rw-rw-rw-
lindenmayer.py
2.49
KB
-rw-rw-rw-
minimal_hanoi.py
2.08
KB
-rw-rw-rw-
nim.py
6.58
KB
-rw-rw-rw-
paint.py
1.31
KB
-rw-rw-rw-
peace.py
1.1
KB
-rw-rw-rw-
penrose.py
3.47
KB
-rw-rw-rw-
planet_and_moon.py
2.87
KB
-rw-rw-rw-
rosette.py
1.39
KB
-rw-rw-rw-
round_dance.py
1.85
KB
-rw-rw-rw-
sorting_animate.py
5.13
KB
-rw-rw-rw-
tree.py
1.43
KB
-rw-rw-rw-
turtle.cfg
170
B
-rw-rw-rw-
two_canvases.py
1.15
KB
-rw-rw-rw-
yinyang.py
870
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lindenmayer.py
#!/usr/bin/env python3 """ turtle-example-suite: xtx_lindenmayer_indian.py Each morning women in Tamil Nadu, in southern India, place designs, created by using rice flour and known as kolam on the thresholds of their homes. These can be described by Lindenmayer systems, which can easily be implemented with turtle graphics and Python. Two examples are shown here: (1) the snake kolam (2) anklets of Krishna Taken from Marcia Ascher: Mathematics Elsewhere, An Exploration of Ideas Across Cultures """ ################################ # Mini Lindenmayer tool ############################### from turtle import * def replace( seq, replacementRules, n ): for i in range(n): newseq = "" for element in seq: newseq = newseq + replacementRules.get(element,element) seq = newseq return seq def draw( commands, rules ): for b in commands: try: rules[b]() except TypeError: try: draw(rules[b], rules) except: pass def main(): ################################ # Example 1: Snake kolam ################################ def r(): right(45) def l(): left(45) def f(): forward(7.5) snake_rules = {"-":r, "+":l, "f":f, "b":"f+f+f--f--f+f+f"} snake_replacementRules = {"b": "b+f+b--f--b+f+b"} snake_start = "b--f--b--f" drawing = replace(snake_start, snake_replacementRules, 3) reset() speed(3) tracer(1,0) ht() up() backward(195) down() draw(drawing, snake_rules) from time import sleep sleep(3) ################################ # Example 2: Anklets of Krishna ################################ def A(): color("red") circle(10,90) def B(): from math import sqrt color("black") l = 5/sqrt(2) forward(l) circle(l, 270) forward(l) def F(): color("green") forward(10) krishna_rules = {"a":A, "b":B, "f":F} krishna_replacementRules = {"a" : "afbfa", "b" : "afbfbfbfa" } krishna_start = "fbfbfbfb" reset() speed(0) tracer(3,0) ht() left(45) drawing = replace(krishna_start, krishna_replacementRules, 3) draw(drawing, krishna_rules) tracer(1) return "Done!" if __name__=='__main__': msg = main() print(msg) mainloop()
Close