repl.it
@E_N_G_I_E/

Black Hole Spiral 🕳️-1

Python (with Turtle)

- Made By HPlus -

fork
loading
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import turtle 
import random
Mohanad = turtle.Turtle()

Mohanad.speed(100000)

Mohanad.color("DarkBlack")

for i in range(10000):
    Mohanad.forward(random.randint(1,1000))
    Mohanad.left(random.randint(1,1000))
    Mohanad.forward(random.randint(1,1000))
    Mohanad.right(.1)
    
    Mohanad.penup()
    Mohanad.setposition(0, 0)
    Mohanad.pendown()
    
    Mohanad.right(.1)
    
turtle.done()
result
console