Fuzzu Preloader Circle GUI – Hypnotic Python Loader Animation

 Demo :


Click Video πŸ‘‡πŸ‘‡πŸ‘‡






























Features:

  • Embedded YouTube Short

  • Brief explanation of HSV to RGB in animations

  • GitHub code link (optional)

  • CTA to subscribe & explore more FuzzuTech shorts

  • Tags below video with SEO-friendly formatting

  • Dark theme thumbnail preview (if embedding)


Code :


import tkinter as tk

import itertools

import colorsys


class PreloaderCircleApp(tk.Tk):

    def __init__(self):

        super().__init__()

        self.title("Fuzzu Preloader Circle GUI")

        self.geometry("400x400")

        self.configure(bg="black")


        self.canvas = tk.Canvas(self, width=400, height=400, bg="black", highlightthickness=0)

        self.canvas.pack()


        self.angle = 0

        self.speed = 6  # ⚙️ Slightly reduced speed

        self.color_step = 10  # 🎨 Faster color change (was 1)

        self.color_index = 0


        self.loading_text = self.canvas.create_text(

            200, 200, text="Loading", fill="white",

            font=("Helvetica", 16, "bold")

        )

        self.after(30, self.update_canvas)


    def get_color(self, index):

        r, g, b = colorsys.hsv_to_rgb((index % 360) / 360.0, 1, 1)

        return "#%02x%02x%02x" % (int(r * 255), int(g * 255), int(b * 255))


    def update_canvas(self):

        self.canvas.delete("arc")


        color = self.get_color(self.color_index)

        self.canvas.create_arc(

            100, 100, 300, 300,

            start=-self.angle, extent=270,

            style=tk.ARC, outline=color, width=8, tags="arc"

        )


        self.canvas.itemconfig(self.loading_text, fill=color)


        self.angle = (self.angle + self.speed) % 360

        self.color_index = (self.color_index + self.color_step) % 360

        self.after(30, self.update_canvas)


if __name__ == "__main__":

    app = PreloaderCircleApp()

    app.mainloop()

Comments

Popular posts from this blog

πŸš€ Simple Login & Registration System in Python Tkinter πŸ“±

πŸš€ Create a Python Screen Recorder with Audio (Complete Code)

πŸ“‘ Fuzzu Packet Sniffer – Python GUI for Real-Time IP Monitoring | Tkinter + Scapy