Skip to main content

A package for creating spinning meme GIFs

Project description

Spinning Meme Maker

Spinning Meme Maker is a Python package that allows you to create spinning meme GIFs using 3D models and images. It provides a convenient way to generate engaging and humorous visual content.

Installation

You can install Spinning Meme Maker using pip:

pip install spinning_meme_maker

Usage

To create a spinning meme GIF, you can use the spinning_meme_maker command followed by the required arguments:

spin(model_path image_path frames filename top_text bottom_text speed bg_color)

  • model_path: The path to the 3D model file (supported formats: .obj, .egg).
  • image_path: The path to the image file or URL of the image to be used as the texture.
  • frames: The number of frames to generate for the GIF.
  • filename: The desired filename for the generated GIF (without the .gif extension).
  • top_text: The text to be displayed at the top of the GIF (optional).
  • bottom_text: The text to be displayed at the bottom of the GIF (optional).
  • speed: The speed factor for the GIF animation (default: 1.0).
  • bg_color: The background color of the GIF in hexadecimal format (e.g., #FFFFFF for white).

Example usage: spin(chair.obj meme_image.jpg 36 my_meme "Top Text" "Bottom Text" 1.5 #00FF00)

This command will generate a spinning meme GIF named my_meme.gif using the chair.obj model and meme_image.jpg image, with 36 frames, "Top Text" displayed at the top, "Bottom Text" displayed at the bottom, a speed factor of 1.5, and a green background color.

Dependencies

Spinning Meme Maker requires the following dependencies:

  • Panda3D
  • Pillow
  • requests

These dependencies will be automatically installed when you install the package using pip.

Contributing

Contributions to Spinning Meme Maker are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

License

Spinning Meme Maker is open-source software licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spinning_meme_maker-1.0.6.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spinning_meme_maker-1.0.6-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file spinning_meme_maker-1.0.6.tar.gz.

File metadata

  • Download URL: spinning_meme_maker-1.0.6.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for spinning_meme_maker-1.0.6.tar.gz
Algorithm Hash digest
SHA256 a9c3207a51824294317c767eaf3101eedb7cf9aedc1ee68687222adf2e24c87d
MD5 8e5a2a2e367b32fc6f1c836c5bd35388
BLAKE2b-256 adf1ccaca9f6677e19560c1d1edde093bb8fa19eb28035258a8e4710711742e6

See more details on using hashes here.

File details

Details for the file spinning_meme_maker-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for spinning_meme_maker-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4dd66308820f5eec12f06c6f0e791a71a416244cadb1b8f7ee3fd00a0702a90a
MD5 8725a3ce7933581bbd9a9505c3a3023e
BLAKE2b-256 639972664d67307ddbe215004c9ebe8e074fb6c4f8fba3968b42288b2d520883

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page