CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 02:47:59 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=c7c5b56999ce889f6235af801fc3df88dc5bca83dc0d1ad5a295279b40c059e4a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22a6iFZl1ACHVRuoYL04fjZcmBFkhVfNOG%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d3468fca7fcb77-BLR
# tk_blob_zoom_optimized.py - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # tk_blob_zoom_optimized.py
- import tkinter as tk
- from PIL import Image, ImageTk, ImageFilter, ImageDraw
- import math
- import random
- WW, HH = 640, 640
- WC, HC = WW // 2, HH // 2
- root = tk.Tk()
- root.title("# tk_blob_zoom_optimized.py")
- canvas = tk.Canvas(root, width=WW, height=HH, bg='black')
- root.geometry("%dx%d+10+10" % (WW, HH))
- canvas.pack()
- scale_factor = 1.025
- number_of_points = 16
- tag_ids = []
- points = []
- def capture_canvas():
- image = Image.new("RGBA", (WW, HH), (0, 0, 0, 0))
- draw = ImageDraw.Draw(image)
- for item in canvas.find_all():
- item_type = canvas.type(item)
- coords = canvas.coords(item)
- if item_type == "polygon":
- color = canvas.itemcget(item, "fill")
- draw.polygon(coords, fill=color)
- return image
- def make_polygon(args):
- r0, g0, b0, points = args
- tag_ids.append(canvas.create_polygon(points, fill="#{:02x}{:02x}{:02x}".format(r0, g0, b0), smooth=True))
- def blob():
- del points[:]
- r0, g0, b0 = [random.randint(0, 255) for _ in range(3)]
- for j in range(number_of_points):
- angle = 2 * math.pi * j / number_of_points
- r = random.uniform(1, 0.05)
- a = angle * random.uniform(0.95, 1)
- x = WC + r * math.cos(a)
- y = HC + r * math.sin(a)
- points.extend((x, y))
- return r0, g0, b0, points
- def plot():
- for _ in range(40):
- for obj in list(tag_ids):
- x1, y1, x2, y2 = canvas.bbox(obj)
- if x2 > 4000:
- obj_color = canvas.itemcget(obj, "fill")
- canvas.configure(bg=obj_color)
- canvas.delete(obj)
- tag_ids.remove(obj)
- continue
- center_x = (x1 + x2) / 2
- center_y = (y1 + y2) / 2
- new_width = (x2 - x1) * scale_factor
- new_height = (y2 - y1) * scale_factor
- delta_x = (new_width - (x2 - x1)) / 2
- delta_y = (new_height - (y2 - y1)) / 2
- canvas.scale(obj, center_x, center_y, scale_factor, scale_factor)
- canvas.update()
- while 1:
- make_polygon(blob())
- plot()
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐GMAIL Logs (2FA disabled)⭐⭐
Java | 3 sec ago | 0.10 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ X
JavaScript | 8 sec ago | 0.25 KB
-
⭐⭐⭐Crypto Accounts⭐⭐
Java | 10 sec ago | 0.10 KB
-
⭐⭐⭐Make $1500 in 20 minutes⭐⭐
Java | 13 sec ago | 0.10 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ X
JavaScript | 17 sec ago | 0.25 KB
-
⭐⭐⭐Exchange Exploit T 3⭐⭐
Java | 24 sec ago | 0.10 KB
-
⭐⭐⭐Make $15OO in 2O minutesV G⭐⭐
Java | 25 sec ago | 0.10 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ S
JavaScript | 26 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