Qi Linzhi
@LinzhiQ
Followers
619
Following
340
Media
11
Statuses
46
prev. @figma, @penn. he/him ๐ณ๏ธโ๐
San Francisco, CA
Joined February 2015
The package sets up a local server and a Cloudflare tunnel to let custom GPTs run almost all Shortcuts actions supported by macOS and read iMessages. Everything stays private between you and your ChatGPT. Hereโs setting it up to help me coordinate my schedule with friends:
0
0
17
We built a lil toy to give GPTs access to your Mac: https://t.co/KUZWnjAUof Me: complain to my landlord for me and my roommates pls ๐ฅบ GPT: (reads iMessage chat with roomies, summarizes complaints, finds our landlordโs email, pulls up a drafted email)
10
15
114
sRGB has ~899,155 distinct colors, Display P3 has ~1,354,483 distinct colors (~50% more) to the average human eyes (ฮEยณ estimates from Monte Carlo simulations with ICCView by Tobias Huneke and argyllcms by Graeme Gill)
2
0
17
Perceptual color distance can be measured with euclidean distance in L*a*b* space (ฮE), hence the # of perceptually distinct colors is the volume of the gamut. Plugging the tristimulus coordinates (XYZ) of each primary of the two profiles, we can see from ฮEยณ that... 11/
1
0
14
...and hence were not representable in sRGB (ignoring quantization) 8,139,790 brand new colors / 2^24 colors in sRGB is ~49%! Note that not all these colors are distinguishable to the human eye, but % of new perceptually distinct colors is in that ballpack too. 10/
1
0
10
๐ฅ... What's new: Starting today, you'll see an option to set the color profile of your file to Display P3, and (if your monitor supports it!) you'll be able to see 49% more colors in your designs. Hope you enjoy it! 8/
3
0
24
So, we developed polyfills for each. Our CSS polyfill uses a 1px PNG template, modifies bits in the color palette chunk, and regenerates the checksum to create a color solid paint ๐ฅ The team then ran dark tests to QA the experience ๐งช๐ต๏ธโโ๏ธ 7/
1
0
26
BUT, Display P3 was still not supported for 2D canvases & web components styled with CSS. We also had to figure out how to bring Display P3 to every color picker surface (there are A LOT of them in Figma) 6/
2
0
15
...so if the monitor is using P3, our desktop app will also render in P3. In August 2022, @ChromiumDev shipped Display P3 support for WebGL canvases, which made it possible for us to show the editor canvas in P3 on Chrome & Edge browsers, as well as our desktop app ๐ 5/
1
0
22
We started receiving features requests for designing with Display P3 colors in 2017, before any browser supported the standard. As a workaround, our team maintained a @electronjs flag to pass through colors directly to the monitor without color management by Chromium... 4/
1
0
19
Display P3 was tricky to integrate into Figma for a few reasons. Support for color profiles varies by browser and OS. While it's an imperfection for most web apps, for a professional design tool like Figma, this means serious production issues for our customers ๐ง 3/
1
0
23
Join @claraujiie, @adispezio, Amanda Yeh and me for office hours next Tuesday @ 9am PT. We'll be talking about some under-the-hood editor magic that made variable fonts happen at @figma and how you can take advantage of them.
2
6
42
Congrats to @mwichary @LinzhiQ & team for shipping VFs ๐ lots of great work & bad puns went into this
6/ Variable fonts ๐ Play more with the weight, width, and other specifications of your font to create responsive, accessible, and fun designs. https://t.co/DMss6JJlao
#Config2022
0
2
9
above all, proud to have triggered a small transfer of VC ๐ธ to a non-profit ๐
The provider donated $10K to @EFF in place of a bounty at my request. Customer source code and production secrets from build processes were vulnerable, but no abuse was found after a third-party forensics. https://t.co/xRk1jSTFPn
0
1
21
The provider donated $10K to @EFF in place of a bounty at my request. Customer source code and production secrets from build processes were vulnerable, but no abuse was found after a third-party forensics. https://t.co/xRk1jSTFPn
0
5
18