Skip to content

Commit ad39c44

Browse files
Update patterned.py
1 parent 553708b commit ad39c44

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/patterned.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
import pmma
22
import math
33
import random
4+
import time
45

56
pmma.set_clean_profiling(False)
6-
pmma.set_profile_result_path(r"H:\Downloads\40 profile.txt")
7-
#pmma.init(general_profile_application=True)
8-
pmma.init(general_profile_application=False, use_c_acceleration=True)
7+
pmma.set_profile_result_path(r"H:\Downloads\60 profile.txt")
8+
pmma.init(general_profile_application=True)
9+
#pmma.init(general_profile_application=False, use_c_acceleration=True)
910

1011
display = pmma.Display()
1112
display.create(vsync=False)
1213

1314
events = pmma.Events()
1415

15-
noise = pmma.Perlin()
16+
noise = pmma.Perlin(seed=0)
1617

1718
circles = []
1819
for _ in range(750): # 750

0 commit comments

Comments
 (0)