Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for brightness (0.07 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

        }
        return elem;
      }
    
      function makeColor(index) {
        // Rotate hue around a circle. Multiple by phi to spread things
        // out better. Use 50% saturation to make subdued colors, and
        // 80% lightness to have good contrast with black foreground text.
        const PHI = 1.618033988;
        const hue = (index+1) * PHI * 2 * Math.PI; // +1 to avoid 0
        const hsl = `hsl(${hue}rad 50% 80%)`;
        return hsl;
      }
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top