This script simulates and visualizes market volatility and entropy, generating a GIF to illustrate regime transitions and trigger signals.