There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

askscience

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

mvirts , in Is there an easy way to generate a list of CMYK color values that will appear identical to the human eye under 589nm light?

Hmmmmmmmmm… From a high level perspective you need to know the reflectivity of your combined pigments at that wavelength. If it’s the same, they will look the same.

I don’t know of anything easy you can use, but would suggest trying to find reflectance curves for each pigment you have available and making combinations that subtract to the same value at 589nm, or since 589 should be basically yellow, make up some colors where Y is constant and you change the ratio of C to R and try them out?

TauZero ,

That’s true! Using RGB alone will not be enough to calculate this! Two materials that might appear equally yellow under white sunlight may appear different shades of yellow under sodium light. Technology Connections did a great video about the difference: piped.video/watch?v=uYbdx4I7STg

edit: he starts talking about sodium light in particular at 11:14

inspxtr , in Is there an easy way to generate a list of CMYK color values that will appear identical to the human eye under 589nm light?

Is there an equation for this? Like y = f(x) where y is your choice of gray and x is your color. Maybe you can empirically find “f” by fitting randomly created “x” with the resulting “y”.

If “f” can be approximated and maybe there’s something special about it so that you can find the inverse. Otherwise, you could always just generate a bunch of “x*” again, feed through “f”, and see whether the output “y*” matches your chosen gray.

ubermeisters , in Is there an easy way to generate a list of CMYK color values that will appear identical to the human eye under 589nm light?
@ubermeisters@lemmy.world avatar

This question covers a wide gamut

;)

Honestly, go ask Bing Chat/GPT4. It’s pretty good at generating leads on where to look, if not direct code for you.

elvith ,

This is “ask science”, not “ask hallucinating charlatans”

ubermeisters ,
@ubermeisters@lemmy.world avatar

deleted_by_moderator

  • Loading...
  • match , in Is there an easy way to generate a list of CMYK color values that will appear identical to the human eye under 589nm light?
    @match@pawb.social avatar

    Would it count as easy to make the colors in a photo editing tool (picking things of the same value and saturation but different hues) and then converting to the CMYK designation?

    pbbananaman , in Is there an easy way to generate a list of CMYK color values that will appear identical to the human eye under 589nm light?

    Low pressure sodium lamps have a pretty sharp spectrum: en.wikipedia.org/wiki/Sodium-vapor_lamp

    Looking at the color spectrum, have you just tried and colors in the green to blue to purple range? I don’t think you need a Python library for this, I think you need to experiment. There’s a lot of dependence on the reflectivity of the material you’re looking at in addition to the color you see under sunlight or even indoor light with broad spectrum.

    Try blue and green and see if both look the same under the lamp.

    ch00f OP ,

    I was hoping I could avoid experimenting. CMYK light responses should be well controlled/documented, no?

    pbbananaman ,

    Thinking about this more , you probably want this to develop a curve in your color space that represents something with constant CMYK values for your chosen light source.

    …readthedocs.io/…/conversions.html

    E.g. your sodium light is 100% yellow, 10ish % magenta. Any color that varies cyan from 0%-100% and black from 0%-100% should presumably not reflect any additional color information (since the source light doesn’t have any cyan and black is just giving brightness)

    I also think this means that as long as you hold Y and M constant, you can vary cyan and black for your comparison colors that will look the same. If you try to vary cyan and yellow or magenta at the same time then your effect probably won’t work.

    This is tricky because you have multiple curves in the color space that are valid when just considering a single wavelength. The reality is, your lamp emits a spectrum of light (sharp, but still has a width). There’s also the variability in perception. But I’m not sure what the “bandwidth” of our eyes is and what color resolution humans are capable of detecting.

    AbouBenAdhem , in Is there an easy way to generate a list of CMYK color values that will appear identical to the human eye under 589nm light?

    Different printers have CMYK primaries with different spectra, so there’s not going to be a generic solution. But in principle, CMY can only create a linear combination of three discrete frequency bands, not a continuous spectrum.

    The same will be true of the appearance under monochromatic light: you can only make colors that blend the monochromatic appearance of the primaries. So if none of the three primaries has the desired effect, you can’t create the effect by mixing them.

    arthur , in Is there an easy way to generate a list of CMYK color values that will appear identical to the human eye under 589nm light?

    May be useful: Video about colors

    settoloki ,

    Only realised when I went to reply. Using sync your video link doesn’t show. Here it is for other sync users.

    youtu.be/fv-wlo8yVhk?si=cj3aaD8Ufm0Hlt6M

    mp3 ,
    @mp3@lemmy.ca avatar
    
    <span style="color:#323232;">May be useful:
    </span><span style="color:#323232;">![Video about colors](https://youtu.be/fv-wlo8yVhk?si=cj3aaD8Ufm0Hlt6M)
    </span>
    

    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 ,
    @subignition@kbin.social avatar

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

    Feathercrown ,

    The Fediverse really needs to support standard markdown globally

    subignition ,
    @subignition@kbin.social avatar

    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

    mp3 ,
    @mp3@lemmy.ca avatar

    I’m just using the fenced code block markdown syntax.

    incendiaryperihelion , (edited ) in Hypothetically speaking, what alterations to our biology/genome would need to occur in order for us to be able to safely drink saltwater?

    You make it sound like drinking salt water would solve all of our humanitarian problems or something. Lack of resources is not our problem, lack of fair and reasonable distribution of resources is. Never forget that five or six men own as much as the rest of the world combined.

    SuckMyWang ,

    They worked really hard for it though /s

    OpenHammer6677 ,

    I mean, they’re probably really working hard on trying to exist with humans

    nezbyte , in Hypothetically speaking, what alterations to our biology/genome would need to occur in order for us to be able to safely drink saltwater?

    According to this article, a longer loop of Henle in the kidney could be the secret to what allows some mammals to drink sea water.

    For reference on why we didn’t evolve this naturally, this Stack Exchange answer suggests that most land animals live near fresh water.

    alvvayson ,

    This is the best answer.

    Also, we need a lot of freshwater for our food (plants and animals). The amount we personally use for drinking is neglible.

    It would solve nothing.

    Now, if we could grow something like corn or soy with salt water… That would be a game changer.

    On the other hand, we already have the technology to desalinate water. It’s mostly a cost and energy issue, not a technology issue.

    arthur ,

    If we grow some crop with salt water, we will be literally salting the earth, so unless we are talking about hydroponics/aquaponics, that would be very damaging for the soil and environment. That needs to be consider as well.

    Num10ck ,

    hmm how about making a seaweed that grows meat tumors then.

    photonic_sorcerer ,
    @photonic_sorcerer@lemmy.dbzer0.com avatar

    Or just eat the seaweed. Tons of nutrients in there. Plus it tastes great as a salad!

    medicsofanarchy ,
    @medicsofanarchy@lemmy.world avatar

    “Nah, we had seaweed last night. Let’s have meat-tumors.”

    alvvayson ,

    Good point. Another reason to favor desalination.

    Spzi ,

    It’s a good point, but desalination has the same issue. Whenever you use seawater to produce something with almost no salt in it (be it desalinated water or crops), that means the salt has to go somewhere else. Probably in concentrated form.

    Desalination may not salt the earth, but brine can create dead zones in the water. There are solutions like diluting it, and there are cases of operators who don’t care. Either way, salt is an issue if you use salt water. Has to go somewhere.

    Buddahriffic ,

    Diluting it is just undoing the desalination on the water used to dilute it.

    Spzi ,

    There are better ways to do this. Examples:

    1. Desalination plant provides town with fresh water
    2. Town’s waste water is treated before going back into the ocean
    3. Brine gets diluted into that treated stream

    In theory, this could give and take the same amount of salt water to and from the ocean, while still providing desalinated water for use.

    Another way to dilute brine is to add it to the ocean in small bits in multiple locations, so neither location exceeds a certain salt concentration.

    Fondots ,

    If you’re growing salt-tolerant crops and only ever intend to use that land as farmland, that could arguably be a benefit, don’t have to use as many chemicals to control weeds and pests if the weeds and pests can’t tolerate the salt

    Probably need to make sure that the salt is being contained to the farm area, and I’d imagine you would need to periodically flush it with fresh water or something if too much salt begins to accumulate in the soil for even your salt tolerant crops.

    arthur ,

    Probably need to make sure that the salt is being contained to the farm area, and I’d imagine you would need to periodically flush it with fresh water or something if too much salt begins to accumulate in the soil for even your salt tolerant crops.

    That seems hard to manage. And there is also the risk of that salt to reach underground water. I would say that it’s feasible to do it right, but at a high cost.

    Hydroponics seems more manageable IMO.

    CarbonIceDragon , (edited )
    @CarbonIceDragon@pawb.social avatar

    There are some plants that already grow in seawater, perhaps one way to achieve that effect might be to go about it the other way round, and try to breed or engineer one of these plants into something that can be used as a staple crop? Some quick wiki searching suggests to me that a few species of such plants are edible, though most I could find are so as vegetable type plants and not used like corn or potatoes or such. I did find reference to a salt tolerant plant that can be grown for cooking oil though.

    ExLisper ,

    And start farming the seabed to devastate even more ecosystems? I don’t think so. The best solution is actually to have less people. Better use the CRISPR to create some fun viruses.

    CarbonIceDragon ,
    @CarbonIceDragon@pawb.social avatar

    I wasn’t referring to seaweed on the seabed, I was referring to land plants that grow in seawater. I figure that these kind of plants could be relevant in places like coastal deserts, since seawater is more available than fresh in such places, or in areas that have suffered from severe saltwater intrusion or which become partially flooded by seawater due to sea level rise.

    Transcendant ,

    Thanks for answering the question instead of jumping on a soapbox to preach.

    Chemical , in Hypothetically speaking, what alterations to our biology/genome would need to occur in order for us to be able to safely drink saltwater?

    Great question. Since we evolved consuming “fresh”, non-salt, water our physiology revolves around certain set points for normal neurological, renal, and basic cellular function. Consuming salt water changes the osmolality of the blood, which then causes shifts of fluid to try and balance the change of osmolality which negatively effects neurological function since we evolved to function within a strict range of osmolality, sodium level, etc. The body manages this from the pituitary/ adrenal / and renal perspective to maintain neurological function. If you could create a situation where the normal isotonic function is reset to a more hypertonic environment then that would be the start. I’m only familiar with human physiology and pathology but perhaps someone who is familiar with fish physiology could comment on how fish stay “hydrated”.

    arthur ,

    Sea turtles have an organ that excretes the excess of salt near their eyes to deal with that.

    arthur ,
    ThrowawayPermanente ,

    They cry because they remember

    Everythingispenguins , in Hypothetically speaking, what alterations to our biology/genome would need to occur in order for us to be able to safely drink saltwater?

    Well I can’t tell you the exact gene would need to be changed, there are plenty of animals able to deal with the salinity of sea water. Basically the kidney has a certain ability to concentrate salt. The greater the ability the saltier the animal’s urine is and the saltier water can be consumed.

    If I am remembering correctly the threshold for salinity of water that can be consumed is up to a level just below that of the threshold of the kidney’s ability to concentrate salt.

    So we would not need “super kidneys” just normal ones similar to those of one of many animals in the sea. But we might have a shortened kidney lifespan because of it.

    Siddhartha-Aurelius , in Hypothetically speaking, what alterations to our biology/genome would need to occur in order for us to be able to safely drink saltwater?

    This is such a great question. I have almost zero knowledge of biology so I can’t offer a meaningful answer. I just want to say this really is a genius question.

    Contramuffin , in Hypothetically speaking, what alterations to our biology/genome would need to occur in order for us to be able to safely drink saltwater?

    Not a direct answer, but I want to point out that if you’re considering a technology that will help improve poor people’s lives, you must also consider that technology is prone to the same issues that caused the wealth disparity in the first place. Namely, that only rich people can afford new technologies. Suppose if we really are able to edit human genes to let people drink salt water. Would poor people (the people who may actually need this technology) be able to afford it? Or will it end up just becoming a gimmick for rich people?

    As others have pointed out, there’s really no need to be able to drink salt water, since we already have the technology to desalinate water. It’s only that poorer areas don’t have the funding to build desalination plants. You can start to see that it’s the same issue as what I said above - there’s a new technology that would theoretically help poor areas, but then it ends up not benefiting poor people because they can’t afford the technology.

    All of this is not to say that new technology is bad. It’s simply that we already have solutions for a lot of societal issues, and the reason we still have those problems is simply because we as a society don’t care enough to distribute the benefits of those solutions fairly

    DragonTypeWyvern ,

    Well the benefit of genemodding is it can be a self replicating system.

    heveysetter OP , in Is it really possible to make a house very good in passive heating and passive cooling, and can an apartment building do it as well?

    I heard it’s a tradeoff.

    ZooGuru , in Is it really possible to make a house very good in passive heating and passive cooling, and can an apartment building do it as well?
    @ZooGuru@lemmy.world avatar

    I think yes but I also think it is really expensive to do it well.

    odium ,

    Cost depends on the local climate

    ZooGuru ,
    @ZooGuru@lemmy.world avatar

    Valid point.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • [email protected]
  • goranko
  • All magazines