A cute animated desktop parrot for Windows, written in Rust. The parrot walks, idles, flies, and displays speech bubbles with messages. Inspired by desktop pets and Japanese learning tools.
- Animated parrot with walking, idle, and flying states
- Drag and drop the parrot anywhere on your desktop
- Speech bubble with customizable messages (supports Japanese and English)
- Custom font rendering for Japanese text
- Physics-based movement and random behaviors
- Easily customizable images and messages
- Windows 10 or later
- Rust toolchain
- Fontdue and image crates (handled by Cargo)
- Japanese font file:
NotoSansCJKjp-Regular.otf(see below)
- Clone this repository:
git clone <repo-url> cd parrot-pet
- Download and install the font
NotoSansCJKjp-Regular.otffrom Google Fonts or your preferred source.- Place the font at:
C:/Users/<YourUsername>/AppData/Local/Microsoft/Windows/Fonts/NotoSansCJKjp-Regular.otf - Or update the path in
src/main.rsto match your font location.
- Place the font at:
- Build and run:
cargo run --release
- The parrot will appear on your desktop.
- Left-click and drag to move the parrot.
- Release left-click to make the parrot fly.
- Right-click the parrot to show/hide a speech bubble with a random message.
- Messages are loaded from
messages.txt(one message per line).
- Images: Replace the PNG files in the
assets/folder to change the parrot or bubble appearance. - Messages: Edit
messages.txtto add or change the messages. Supports Japanese and English. - Font: Change the font file path in
src/main.rsif you want to use a different font. - Animation/Physics: Tweak parameters in
src/main.rsfor speed, gravity, animation timing, etc. - Variables: Replace important variables like ALWAYS_ON_TOP, BUBBLE_SCALE in
src/utils.rs
MIT