/ legacy / python / lib / demo_kamaji_art.py
demo_kamaji_art.py
 1  #!/usr/bin/env python3
 2  """
 3  Demo script to showcase Kamaji ASCII art using Rich.
 4  """
 5  
 6  from rich.console import Console
 7  from rich.panel import Panel
 8  from kamaji.ascii_art import get_kamaji_art
 9  
10  def main():
11      """Display Kamaji ASCII art using Rich."""
12      console = Console()
13      
14      console.print("🎭 Kamaji ASCII Art", style="bold yellow")
15      console.print("=" * 40)
16      
17      art = get_kamaji_art()
18      console.print(Panel(art, border_style="cyan"))
19      
20      console.print("\n" + "=" * 40)
21      console.print("🎨 ASCII art inspired by Kamaji from Spirited Away!", style="bold magenta")
22      console.print("🔥 Features: Fire furnaces, mechanical arms with gears", style="bold blue")
23      console.print("🎭 Perfect for TUI headers and displays", style="bold yellow")
24  
25  if __name__ == "__main__":
26      main()