@xero nice code!

I see you're actually calculating things rather than rendering them with a browser (see nf.color2hex in nofus.js, which I use mostly for userscripts). I assume your way is significantly faster.

Given your goal of minification, do you want red to gain a byte with #f00? I see transparent maps to rgba(0,0,0,0) but it could be #0000.

Idea for you: a configurable maximum distance (default=0) per color channel to permit rounding, e.g. 4 means #ff362f becomes #f33 since 0x33 is within 4 of both 0x36 and 0x2f.

(I suppose it'd be better to use the sum of differences or some more sophisticated combination, perhaps keyed to a percent, but that's a dangerous rabbithole of researching color perception (e g. OKLCH). Determining a sane thresholding system and ideal values won't be easy.)

GitHub - adamhotep/nofus.js: NOminal Functions for UserScripts, a very small JS library for tweaking websites

NOminal Functions for UserScripts, a very small JS library for tweaking websites - adamhotep/nofus.js

GitHub
OLED Rückleuchten für den BMW| EINBAU | BMW F36

Source: OLED Rückleuchten für den BMW| EINBAU | BMW F36 by Mazo Vlogs. Please don’t forget to give the Video a “Like” on Youtube and subscribe to the channel! Wenn du Lust auf mein Equipment, Merch oder Sozial Media Seiten hast: 🔥 https://linktr.ee/mazovlogs 🔥

The Motorbike Channel
Today for Car #3 we have an interesting one! This is the “Red European Sports Convertible” driven by Satou’s friend Serizawa in the recent Anime film “Suzume”. Now why do I call it a “Red European Sports Convertible”? When I watched the movie I immediately thought “Oh, it's an Alfa Romeo Giulia Convertible, nice!”. It was only afterward that I noticed that first, the Giulia is a 4-door sedan and was never offered as a 2-door coupe/cabriolet, and second, that so many details on this car are screaming BMW instead of Alfa. So this car is clearly a fictional blend of the two brands, supported by the novel the movie is based on, in it being called a “red BMW”. In my theory, it's a blend of the Alfa Giulia and the BMW 4 series F33 Convertible.

If we look at the front the striking lines of the grill and side pods are clearly Giulia, especially the GTA model. The headlights, while having a similar shape, feature the twin lights and “eyelids” of the F33. If we look at the side profile it also looks almost exactly like the F33, notice the way the tail light wraps around and connects to the line that runs the entire side of the car starting from the front wheel arch, a core BMW design feature. Interesting is also the convertible hard-top. Not many cars were built with one and the mechanism looks almost identical to that of the F33. Additionally the top features the famous “Hofmeister-Kink” at its rear window, a feature present on all BMWs since the 1960s (it's also on the Giulia though). If we look at the back it turns into a Giulia once more, featuring similar tail lights and diffusor/exhaust style to the Quadrifoglio, that don’t seem BMW at all. The Spoiler also has the same basic shape as the one found on the Giulia GTA models.

There doesn’t seem to be a single design aspect that can't be found on either one of the two cars, except maybe the way the top sits in the trunk once folded down, making this fictional car almost a perfect blend to the point I didn’t notice anything off while watching the movie. Having sat in an F82 and Giulia before, I can say with confidence that Alfa should consider making the Giulia Convertible a reality, as it would make for a great cruiser! Sadly the development costs would most likely be too high, as well as hard-tops already being on the way out. BMW only offered this for two generations in the E93 and F33 before moving back to only soft-tops in their current lineup. Hard-tops are just too heavy and complex, as seen in the movie with the roof being broken and unable to be closed fully).
#cars #car #anime #alfaromeo #giulia #bmw #f33 #suzume

@GustavinoBevilacqua be’ per fortuna sulla classe delle immagini (selezionata come sottoclasse della div in cui Mangane le mette) funziona, invece, quindi alla fine sono riuscito - dopo 2 ore: sempre sia lodato Gesù Cristo.

Metto qui il “codice”, magari può essere utile a qualcun*…

.still-image img:not([alt]) { box-sizing: border-box; border: 1.5px dashed #f33; border-radius: 12px; }
FEDIsroot

7.5 degrees, rain, wind...
on days like these it feels like the weather reflects my mental health.
perfect time for a song full of melancholy
https://www.youtube.com/watch?v=jAiTMDOhxg4
#F33 #folk #nowplaying #tootradio