How Randomness Shapes Real-World Patterns: From Z-Buffering to Jackpot Systems