---
slug: "pi-thinking-animation"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/yoyo406/pi-thinking-animation@main/README.md"
repo: "https://github.com/yoyo406/pi-thinking-animation"
source_file: "README.md"
branch: "main"
---
# pi-thinking-animation 🧠✨

Pi extension — **✻** bouncing left and right with funny roasting messages while the AI thinks.

Color progresses smoothly from white to red the longer it takes.

Phase changes after each full assistant response (not after every thinking cycle).

## Install

```bash
pi install npm:pi-thinking-animation
```

Or from source:

```bash
pi install ./pi-thinking-animation
```

## Usage

Auto-loaded after install. Indicator appears in the streaming row:

| Stage | Display |
|-------|---------|
| Thinking | ✻ →  ✻ →   ✻ →    ✻ →   ✻ →  ✻ → (bounce) |
| Finished | ✻ roasted! |
| Settled | clears |

### 30 phases

roasting, cooking, brewing, baking, toasting, grilling, smoking, mining, forging, hacking, searching, debugging, compiling, deploying, testing, optimizing, refactoring, polishing, building, cleaning, organizing, generating, dreaming, thinking, wiring, slicing, dicing, mixing, shaking, freezing

### Color progression (20s)

0% white → 20% light orange → 50% orange → 80% dark orange → 100% red

## Manual load

```bash
pi -e ./extensions/thinking-animation.ts
```
