GDI_effects is a Python library that allows you to create GDI screen effects on Windows.
Project description
GDI_effects
GDI_effects is a Python library that allows you to create GDI screen effects on Windows.
Installation
First, you need to install the pywin32 library using pip:
pip install pywin32
After installing pywin32, you can install GDI_effects via pip:
pip install GDI-effects
Usage
Below is an example of how to use the library to create various screen effects:
from GDI_effects.GDI import *
Effects.type_text("Hello, world!", 100)
# Display "Hello, world!" at random positions on the screen.
# "Hello, world!" (str): The text to be displayed on the screen.
# 100 (int): The number of times the text is displayed on the screen.
Available Functions
Effects.bw_screen(repeat=200) # Creates a black and white effect on the screen.
Effects.copy_screen(repeat=200) # Continuously copies the entire screen area and displays it without any offset.
Effects.error_screen(repeat=200) # Displays error icons at various positions on the screen.
Effects.warning_screen(repeat=200) # Displays a warning icon randomly on the screen.
Effects.question_screen(repeat=200) # Displays a question icon randomly on the screen.
Effects.asterisk_screen(repeat=200) # Displays an asterisk icon randomly on the screen.
Effects.super_icon_screen(repeat=200) # displays various system icons randomly on the screen.
Effects.invert_screen(repeat=200) # Inverts the colors on the screen.
Effects.pan_screen(repeat=200) # Pans the screen in random directions.
Effects.rainbow_blink(repeat=200) # Creates random rainbow effects on the screen.
Effects.screen_wavy(repeat=200) # Creates a wavy effect on the screen.
Effects.void_screen(repeat=200) # Creates a void effect on the screen.
Effects.glitch_screen(repeat=200) # Creates a glitch effect on the screen.
Effects.tunnel_screen(repeat=200) # Creates a tunnel effect by continuously stretching and copying the screen content inwards from the edges.
Effects.twisted_screen(repeat=200) # Apply a twisted screen effect by performing bitwise operations on the screen content.
Effects.rotate_screen(repeat=200) # Creates a rotation effect for the entire screen around a fixed radius.
Effects.repeat_block_rotation(repeat=200) # Creates a rotation effect for small blocks of the screen.
Effects.draw_random_scribble(repeat=200) # Drawing of random scribbles on the screen.
Effectstype_text(text, repeat=200) # Display text at random positions on the screen.
Effects.flip_screen_upside_down(repeat=200) # Continuously flip the computer screen upside down.
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
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 gdi_effects-2.0.4.tar.gz.
File metadata
- Download URL: gdi_effects-2.0.4.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
085557bb614623d29f1f6f303d51d76fa35d2c8da9a040fb198a6d84588e44f8
|
|
| MD5 |
c2cdd1515ea9e06e2c746308c3e49fcf
|
|
| BLAKE2b-256 |
0f71eca43373c941829b844e881edbed16c60cfeeb1033d3fbd8a09d86d5e4a6
|
File details
Details for the file GDI_effects-2.0.4-py3-none-any.whl.
File metadata
- Download URL: GDI_effects-2.0.4-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5de3ac900900cc4e78f047b044c563a4b34015e914e1608b711330266dd6a65b
|
|
| MD5 |
7d02def83aa41f71a54cc64cd0debf4d
|
|
| BLAKE2b-256 |
a4fd37a496de4d5cd27e931a6af4197b153ffa46b0a9c56017a0d34c1506519d
|