repl.it
@E_N_G_I_E/

Black Hole Spiral 🕳️

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
import turtle


Mohanad = turtle.Turtle()

Mohanad.speed(0)

Mohanad.color("DarkBlack")

while True:
    Mohanad.forward(180)
    Mohanad.left(70)
    Mohanad.forward(60)
    Mohanad.right(random.randint(40,70))
    
    Mohanad.penup()
    Mohanad.setposition(0, 0)
    Mohanad.pendown()
    
    Mohanad.right(random.randint(2,10))
  
result
console