A Tkinter animation library for celestial-like floating points
Project description
CelestialTK
A Tkinter animation library for creating celestial-like floating points with customizable behavior.
Installation
pip install celestialtk
Quick Start
import tkinter as tk
from celestialtk import FloatingPointsAnimator
# Create a tkinter window
root = tk.Tk()
canvas = tk.Canvas(root, width=400, height=300, bg='black')
canvas.pack()
# Create floating points animator
animator = FloatingPointsAnimator(
canvas,
num_points=50,
base_color='#00ffff', # Cyan points
fall_direction='down',
blink_enabled=True
)
root.mainloop()
Features
- Customizable number of points
- Adjustable point sizes
- Multiple falling directions
- Optional blinking effect
- Color and opacity control
Parameters
num_points: Total number of points (default: 50)sizes: List of possible circle radii (default: [2, 5])speed_range: Tuple of (min_speed, max_speed) (default: (1, 5))blink_enabled: Whether points blink (default: True)fall_direction: Direction of points ("down", "up", "left", "right", or "random")base_color: Hex color of pointsbg_color: Background coloropacity: Opacity of points (0-1)update_interval: Animation update interval in ms
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
celestialtk-0.1.0.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file celestialtk-0.1.0.tar.gz.
File metadata
- Download URL: celestialtk-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a8c31bdea91fc2396cffbd5d8275a9ffe884edea27e6ed4feccb13ac8f7cdf0
|
|
| MD5 |
4c8ca128f85db733d57075dedb768637
|
|
| BLAKE2b-256 |
5fa1c32e5a61f817155d781c7e2fca10414865e367ef0d5d569977de1cdb429b
|
File details
Details for the file celestialtk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: celestialtk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea3615e2a383fbbabb723f377a7a2a2de63a0c10bc9cf0f0557849ed0d2d0e63
|
|
| MD5 |
78f85dc5576fd6260eda6b01f6676fde
|
|
| BLAKE2b-256 |
d0469af46f174a7692245918e64e106880c5bb80df2446109daa2dea93454848
|