CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 17:42:42 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=104160dd281d3a561f6959a466689f333112d7145357b3a9639fe2590720333ba%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22a2zG03vuuyzzD-h2hmI3AAGKFkxWEPXV%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d86532dc03343c-BLR
# tk_wave_dict.py - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # tk_wave_dict.py
- import tkinter as tk
- from PIL import Image, ImageDraw, ImageTk
- import math
- WW = 600
- HH = 600
- root = tk.Tk()
- root.geometry(f"{WW}x{HH}+0+0")
- canvas = tk.Canvas(root, width=WW, height=HH)
- canvas.pack()
- def polar_to_cartesian(radius, degrees):
- radians = math.radians(degrees)
- x = int(radius * math.cos(radians))
- y = int(radius * math.sin(radians))
- return x, y
- xy = {}
- xy[0] = []
- for radius in range(2, 801):
- for degrees in range(0, 360):
- xy[(radius, degrees)] = polar_to_cartesian(radius, degrees)
- xy[0] += [(radius, degrees)]
- def slide_dots():
- canvas.move('dot', -5, 0)
- xy[0].pop(0)
- xy[0].pop(0)
- xy[0].pop(0)
- xy[0].pop(0)
- radius, degrees = xy[0].pop(0)
- x, y = xy[(radius, degrees)]
- canvas.create_rectangle(WW-2, HH//2+y-2, WW-2+4, HH//2+y+2, fill="red", outline='', tags="dot")
- root.update()
- root.after_idle(slide_dots)
- slide_dots()
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
-
π‘ EASY MONEY GUIDE β
Working
JavaScript | 3 sec ago | 0.24 KB
-
ββ
Exploit 2500$ in 15 Minutesβββ 5
JavaScript | 7 sec ago | 0.25 KB
-
π₯ Exchange profit method
JavaScript | 15 sec ago | 0.24 KB
-
π EASY MONEY GUIDE β
Working A
JavaScript | 16 sec ago | 0.25 KB
-
π Instant BTC Profit Method β
Working V
JavaScript | 25 sec ago | 0.25 KB
-
β
Make $2500 in 20 minutesβ T
JavaScript | 34 sec ago | 0.25 KB
-
π΅ Make 3000$ in 20 minutes π΅
JavaScript | 34 sec ago | 0.24 KB
-
π Swapzone +37% glitch β 5
JavaScript | 42 sec ago | 0.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand