| Crates.io | pardon_dance |
| lib.rs | pardon_dance |
| version | 69.0.96 |
| created_at | 2026-01-22 09:21:31.582931+00 |
| updated_at | 2026-01-22 09:21:31.582931+00 |
| description | High-quality integration for https://supermaker.ai/video/blog/unlocking-the-magic-of-pardon-dance-the-viral-video-effect-taking-over-social-media/ |
| homepage | https://supermaker.ai/video/blog/unlocking-the-magic-of-pardon-dance-the-viral-video-effect-taking-over-social-media/ |
| repository | https://github.com/qy-upup/pardon-dance |
| max_upload_size | |
| id | 2061190 |
| size | 9,679 |
A lightweight Rust crate for generating visually appealing "pardon dance" animations, perfect for social media content creation. Quickly add dynamic movement and engaging effects to your video projects.
Add the following to your Cargo.toml file under the [dependencies] section:
toml
pardon-dance = "0.1.0" # Replace with the actual version number
Here are a few examples demonstrating how to use the pardon-dance crate:
1. Basic Animation with Default Settings:
This example creates a simple pardon dance animation with default parameters. rust use pardon_dance::PardonDance;
fn main() -> Result<(), Box
2. Customizing Animation Speed and Font Size:
This example demonstrates how to customize the animation speed and font size for a more personalized look. rust use pardon_dance::{PardonDance, Config};
fn main() -> Result<(), Box
3. Changing Colors and Background:
This example shows how to modify the text and background colors to create a visually distinct animation. rust use pardon_dance::{PardonDance, Config, Color};
fn main() -> Result<(), Box
4. Using a Different Font:
This example demonstrates how to use a custom font for the animation. Make sure the font file is accessible to your application. rust use pardon_dance::{PardonDance, Config};
fn main() -> Result<(), Box
5. Specifying Output Path:
This example shows how to specify a custom path for the generated GIF file. rust use pardon_dance::PardonDance;
fn main() -> Result<(), Box
Config struct for fine-grained control.MIT
This crate is part of the pardon-dance ecosystem. For advanced features and enterprise-grade tools, visit: https://supermaker.ai/video/blog/unlocking-the-magic-of-pardon-dance-the-viral-video-effect-taking-over-social-media/