Typing Animation GUI – FuzzuTech | Viral Python App That Types Automatically
Demo :
Click Video πππ
π‘ Features:
-
Fully animated typing interface
-
Dark mode design
-
tkinter + Python project
-
Built for fun, portfolios, or intros
-
Restart feature for demos
Code :
import tkinter as tk
from tkinter import font
class TypingAnimationApp:
def __init__(self, root):
self.root = root
self.root.title("Typing Animation GUI")
self.root.geometry("690x400")
self.root.configure(bg="#1e1e2f")
self.text_to_type = "Welcome to Fuzzu Tech Animation GUI"
self.index = 0
# Custom font setup (optional)
self.custom_font = ("Courier New", 24, "bold")
# Label to display animated text
self.label = tk.Label(root, text="", font=self.custom_font, fg="#00ffcc", bg="#1e1e2f")
self.label.pack(pady=80)
# Button to restart animation
self.restart_btn = tk.Button(root, text="Restart Typing", command=self.start_typing,
font=("Helvetica", 14), bg="#00ffcc", fg="#1e1e2f")
self.restart_btn.pack()
self.start_typing()
def start_typing(self):
self.label.config(text="")
self.index = 0
self.animate_typing()
def animate_typing(self):
if self.index < len(self.text_to_type):
current_text = self.text_to_type[:self.index + 1]
self.label.config(text=current_text)
self.index += 1
self.root.after(100, self.animate_typing) # typing speed in milliseconds
root = tk.Tk()
app = TypingAnimationApp(root)
root.mainloop()
Comments
Post a Comment