/VisibiliPi

Visualizing Pi using RGB. C# VS 2022 DotNet 6.0 WPF demo application.

Primary LanguageC#Apache License 2.0Apache-2.0

VisibiliPi (Visible-'ih'-Pie, VisibilePie. Not VisiblePee, silly.)

Visualizing Pi using RGB

  • Calculates the Nth digit of Pi, starting at zero (incrementing with each button click)
  • Converts the digit (0-15) to a fraction (1/16ths of the visible spectrum) and displays the wavelength
  • Converts the wavelength to RGB values (gamma corrected) and displays the RGB values and color on the main window.

Very clunky quickly thrown together app.

More info

  • the n'th digit of Pi (in hex), which is technically a nibble, is now a 0-15 value
  1. '2' .. (discarded: 43f6a8885)
    • image
  2. '4' .. (discarded: 3F6A8885A) <- note the shift
    • image
  3. '3'
    • image