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.4.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.4-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spinning_meme_maker-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 59036e6a325f235c19802de552fb6e090a2e7cf3bf6ec48a01eced0bddca3edb
MD5 848667143da70c3b1f4b18094da0457f
BLAKE2b-256 8e03dafd5a158a4dce09184400cf34761407b02cf1b7d9a37412d722d1712a26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spinning_meme_maker-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cf02e5d2a8e8bc306dee39d31b1fa0f88ceb31015de9ddacb3bba6ba4993d0f6
MD5 d1ed9e30aa75020a314675b92d90f6be
BLAKE2b-256 676b9aa8c150e0c29d407e566b336d1e6a7ef7b5a387eada410fba1e2ef37081

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