Skip to content
View glyn-marsh's full-sized avatar

Block or report glyn-marsh

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
glyn-marsh/README.md

Glyn Marsh

I am a software engineer working on scandium is a computer emulator based of the 2024 version of jslinux by Fabrice Ballard, meant to run on Bun, and any help is welcome. I also work on the javascript library huelength, capable of finding the associated RGB color to a wavelength. I somwtimes will have breaks in my commit history as I get interested in other things.

Pinned Loading

  1. huelength huelength Public

    Huelength is a JavaScript library which can prosses a wavelength between 360 and 760 nanometers long, and return a color encoded in the RGB format.

    JavaScript 1

  2. Main code of the huelength library. ... Main code of the huelength library. Can turn a wavelength into a RGB color.
    1
    function convert(wavelength) {
    2
      let red, green, blue
    3
    
                  
    4
      if((wavelength >= 380) && (wavelength<440)) {
    5
        red = -(wavelength - 440) / (440 - 380);