I picked up a low pressure sodium lamp and am working on a Halloween demonstration. I’m hoping to make a display that appears one way under normal light, but looks totally different under the monochromatic 589nm sodium vapor light.

So basically, I’m looking to generate a color wheel where I pick a shade of gray and get a list of colors that would look that gray under sodium vapor light.

…I feel like there must be a Python library for thing or something…

      • m-p{3}@lemmy.ca
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        1 year ago
        May be useful:
        ![Video about colors](https://youtu.be/fv-wlo8yVhk?si=cj3aaD8Ufm0Hlt6M)
        

        So that’s why, Sync tries to load this as an image, but there’s no image link…

        But apparently the link still works and is invisible in Sync.

        • subignition@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Out of curiosity are you using quote or code tags? The HTML formatting in your post doesn’t display correctly from kbin.

            • subignition@kbin.social
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              Well I do get a code block so I’m not sure if that’s Kbin-specific markdown but I also get a bunch of HTML inside it too. I can’t view the raw comment like I could with RES, but I would suspect that the raw Markdown characters should be sent with the post, for the website to support in its style-specific way, or something. This seems more like someone’s client or app inappropriately inserting display style information into the post? But I could be totally wrong, I’m not an expert

        • OvermindDL1
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          Yeah I thought ![...](...) in markdown is supposed to map to the img tag in html?

          In fact, I’m almost certain of it… sec…

          Yes, I’m right!

          https://spec.commonmark.org/0.30/#images

          ![blah](blorp.vwoop) maps to, by the very spec itself: < img src="blorp" alt="blah" title="vwoop" /> (sans space because post stripping though, why are tags in code blocks stripped by the server instead of escaped???)

          So if it links a youtube video… that… doesn’t make sense? It’s the img tag, not the link tag. It looks like Sync is correct here, it’s putting it in an img tag, which is doing precisely what is expected for it to do?