from Hacker News

Poline – An enigmatic color palette generator using polar coordinates

by zdw on 6/14/25, 11:38 PM with 60 comments

  • by meodai on 6/18/25, 7:20 PM

    To those not into the mythical vibe: I totally get it. I stumbled onto something that looked good by accident and thought it’d be fun to lean into the mystical theme — especially since there’s no real science or theory behind it (that I know of). Mostly, I just wanted an excuse to build a fun website around it.

    And to everyone else — thanks for the kind words, really appreciate it!

  • by nemomarx on 6/18/25, 3:09 PM

    >"poline" is an enigmatic color palette generator, that harnesses the mystical witchcraft of polar coordinates. Its methodology, defying conventional color science, is steeped in the esoteric knowledge of the early 20th century. This magical technology defies explanation, drawing lines between anchors to produce visually striking and otherworldly palettes. It is an indispensable tool for the modern generative sorcerer, and a delight for the eye

    I'm not totally sure I understand this intro - what's different here compared to normal color science palette makers?

    I do like the visual presentation and animation a lot though.

  • by altairprime on 6/18/25, 4:33 PM

    Previously on HN (2 years ago) with creator’s replies: https://news.ycombinator.com/item?id=34662722
  • by jonathaneunice on 6/18/25, 3:52 PM

    It's cool.

    Though I am unsure if I am a sufficiently modern generative sorcerer to appreciate its eldritch, enigmatic nature.

  • by pseudocomposer on 6/18/25, 5:37 PM

    Super cool! If the author/creator happens to be reading, I’d suggest that, when the user is at the top of the page (ie on first load), the default demo wheel’s should animate between a few different curves. At first glance (before scrolling down), it looks somewhat primitive, and less interesting than it really is.
  • by onli on 6/18/25, 2:49 PM

    Doesn't seem to work on Firefox - I tried with adblocker and tracking protection disabled. Console complains:

    Uncaught SyntaxError: The requested module 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/e...' doesn't provide an export named: 'default'

  • by basisword on 6/18/25, 3:37 PM

    Nice. Hard to generate an unpleasant palette with this at all.
  • by __MatrixMan__ on 6/18/25, 7:36 PM

    I'd like to configure my editor to use something like this to generate a unique color palette for the syntax highlighting for each project so that if I have files from multiple projects open at the same time they look different. Maybe base it on a hash of the git remote.
  • by mock-possum on 6/18/25, 3:55 PM

    What a fun project! I feel like you really bury the lede in terms of what kinds of palettes are generateable- the first interactive demo at the top of page mostly only makes bruises, but later on your get full on saturated rainbows!
  • by bogdanoff_2 on 6/18/25, 4:31 PM

    I'm impressed by the naming of colors at the very end.
  • by Asraelite on 6/20/25, 7:16 AM

    Why /ˈpɔːlaɪn/ and not /ˈpoʊlaɪn/ or /ˈpɑlaɪn/? Seems like an unnatural way to pronounce it, given the spelling.
  • by ChrisMarshallNY on 6/18/25, 4:14 PM

    Nicely done, but I'm a bit puzzled by all the alchemical stuff (which, to be fair, is probably the point).
  • by drewbeck on 6/19/25, 2:10 AM

    On my iPhone the line curves as I move the dots around, but on my laptop (running Arc) the line stays straight. Some bug, or am I missing something?

    ETA: okay I can get arcs working by changing the arc settings! Getting different default behavior on the two platforms tho.

  • by rambambram on 6/18/25, 3:59 PM

    Hats off! I never experienced a colorcombo generator that only turned up good palettes.
  • by kazinator on 6/18/25, 5:37 PM

    It makes sense. When you have complementary colors in the palette, you need to include more darks so that in your design you can separate the two. This is achieved because the line has pass near the centre.
  • by james_marks on 6/18/25, 6:59 PM

    This is the most beautiful thing I've seen in a long, long time.
  • by Teever on 6/18/25, 5:41 PM

    The favicon updates to match the palette. That's a nice touch.
  • by stevenhuang on 6/18/25, 6:26 PM

    What an obnoxiously unclickable interaction on mobile. A very strange choice of ux for something that insists to be so prominent on my screen that follows my scroll, yet clicking on the palette does nothing.
  • by andyfeliciotti on 6/18/25, 10:25 PM

    Meodai is the color king! Fantastic tool
  • by kamranjon on 6/18/25, 11:26 PM

    For those like me who didn't get it at first - make sure to scroll down...
  • by coretx on 6/18/25, 10:23 PM

    He got me until I read "npm install".
  • by koprocezar on 6/18/25, 3:12 PM

    Nice one!