Skip to content
forked from foone/headpats

A simple pygame script for generating HEADPATS animations

License

Notifications You must be signed in to change notification settings

SuperDoxin/headpats

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

headpats

A simple pygame script for generating HEADPATS animations, like so

I've included sample images for a windows 3.1 icon and my twitter avatar.

Requirements:

Customizing

headpats.py accepts the following optional arguments:

  -h, --help            show this help message and exit
  --background-image BACKGROUND_IMAGE
                        set the path for the background image to use
  --hand-image HAND_IMAGE
                        set the path for the hand image to use
  -f, --fullscreen      start fullscreen
  --pats-per-second PATS_PER_SECOND
                        set pat frequency
  --pat-amplitude PAT_AMPLITUDE
                        set pat amplitude
  -x PAT_X, --pat-x PAT_X
                        set horizontal pat position
  -y PAT_Y, --pat-y PAT_Y
                        set vertical pat position
  --framerate FRAMERATE
                        set the frame rate limit. 0 or lower disables the
                        frame rate limit.

Capturing

I didn't build in any function to directly create the GIFs, I instead captured the program running using OBS.

License

All code is GPL3. The example images come from iconart.dll and Microsoft Windows 95.

About

A simple pygame script for generating HEADPATS animations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%